import 'package:medora/route/route_names.dart'; import 'package:flutter/material.dart'; class PatientLandingScreen extends StatelessWidget { const PatientLandingScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( body: Container( decoration: BoxDecoration( gradient: LinearGradient( begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [Colors.teal.shade100, Colors.white], ), ), child: SafeArea( child: Column( children: [ Expanded( child: Center( child: Card( margin: const EdgeInsets.symmetric(horizontal: 32), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(16), ), child: Padding( padding: const EdgeInsets.all(24.0), child: Column( mainAxisSize: MainAxisSize.min, children: [ Align( alignment: Alignment.topRight, child: TextButton( onPressed: () { Navigator.of(context).pushNamed( RouteNames.patientDashboardScreen); }, child: Text( 'Skip', style: TextStyle( color: Colors.teal.shade300, fontSize: 16, fontWeight: FontWeight.bold), ), ), ), Image.asset( 'images/patient-avathar.png', height: 200, width: 200, ), const SizedBox(height: 24), const Text( 'Set your medical profile', textAlign: TextAlign.center, style: TextStyle( fontSize: 30, fontWeight: FontWeight.bold, ), ), const SizedBox(height: 24), ElevatedButton( onPressed: () { Navigator.of(context).pushNamed( RouteNames.patientRegistrationScreen); }, style: ElevatedButton.styleFrom( backgroundColor: Colors.blue, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(20), ), minimumSize: const Size(double.infinity, 50), ), child: const Text( 'Continue', style: TextStyle(fontSize: 18, color: Colors.white), ), ), ], ), ), ), ), ), ], ), ), ), ); } }