import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; class PharmacyProfilePage extends StatefulWidget { @override _ProfilePageState createState() => _ProfilePageState(); } class _ProfilePageState extends State { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( centerTitle: true, title: Text(TranslationBase.of(context).myAccount, style: TextStyle(color:Colors.white)), backgroundColor: Colors.green, ), body: Container( child:SingleChildScrollView( child: Column( children:[ Container( child:Row( children: [ Container( padding:EdgeInsets.only(top:20.0, left:10.0, right:10.0, bottom:10.0,), child: LargeAvatar(name: "profile", url:'' ,), ), Container( child: Column( children: [ Text( TranslationBase.of(context).welcome, style: TextStyle(fontSize: 14.0, fontWeight: FontWeight.bold, color:Colors.grey ), ), Text( 'NAME', style: TextStyle( fontSize: 16.0, fontWeight: FontWeight.bold ), ), ], ), ) ], ), ), Divider( color: Colors.grey[350], height: 20, thickness: 5, indent: 0, endIndent: 0, ), SizedBox( height: 15, ), Container( child:Row( children: [ Expanded( child: InkWell( child: Column( children: [ SvgPicture.asset( 'assets/images/pharmacy/orders_icon.svg', width: 50, height: 50,), SizedBox( height: 5, ), Text( TranslationBase.of(context).orders, style: TextStyle(fontSize: 13.0, fontWeight: FontWeight.bold,), ), ], ), ), ), Expanded( child: InkWell( child: Column( children: [ SvgPicture.asset( 'assets/images/pharmacy/lakum_icon.svg', width: 50, height: 50,), SizedBox( height: 5, ), Text( TranslationBase.of(context).lakum, style: TextStyle(fontSize: 13.0, fontWeight: FontWeight.bold ), ), ], ), ), ), Expanded( child: InkWell( child: Column( children: [ SvgPicture.asset( 'assets/images/pharmacy/wishlist_icon.svg', width: 50, height: 50,), SizedBox( height: 5, ), Text( TranslationBase.of(context).wishlist, style: TextStyle(fontSize: 13.0, fontWeight: FontWeight.bold,), ), ], ), ), ), Expanded( child: InkWell( child: Column( children: [ SvgPicture.asset( 'assets/images/pharmacy/review_icon.svg', width: 50, height: 50,), SizedBox( height: 5, ), Text( TranslationBase.of(context).reviews, style: TextStyle(fontSize: 13.0, fontWeight: FontWeight.bold,), ), ], ), ), ), ], ) ), SizedBox( height: 15, ), Divider( color: Colors.grey[350], height: 20, thickness: 5, indent: 0, endIndent: 0, ), SizedBox( height: 10, ), Container( padding: EdgeInsets.only(left: 10.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( TranslationBase.of(context).myAccount, style: TextStyle( fontSize: 16.0, fontWeight: FontWeight.bold ), ), SizedBox( height: 10, ), Divider( color: Colors.grey, height: 20, ), InkWell( child: Row( children: [ SvgPicture.asset( 'assets/images/pharmacy/my_prescription_icon.svg', width: 28, height: 28,), SizedBox( width: 15, ), Text(TranslationBase.of(context).myPrescriptions, style: TextStyle(fontSize: 13.0, ), ), ], ), ), SizedBox( height: 5, ), Divider( color: Colors.grey, height: 20, ), InkWell( child: Row( children: [ SvgPicture.asset( 'assets/images/pharmacy/medication_refill_icon.svg', width: 28, height: 28,), SizedBox( width: 15, ), Text(TranslationBase.of(context).medicationRefill, style: TextStyle(fontSize: 13.0, ), ), ], ), ), SizedBox( height: 5, ), Divider( color: Colors.grey, height: 20, ), InkWell( child: Row( children: [ SvgPicture.asset( 'assets/images/pharmacy/pill_reminder_icon.svg', width: 30, height: 30,), SizedBox( width: 20, ), Text(TranslationBase.of(context).pillReminder, style: TextStyle(fontSize: 13.0, ), ), ], ), ), SizedBox( height: 5, ), Divider( color: Colors.grey, height: 20, ), InkWell( child: Row( children: [ SvgPicture.asset( 'assets/images/pharmacy/my_family_icon.svg', width: 20, height: 20,), SizedBox( width: 20, ), Text(TranslationBase.of(context).family, style: TextStyle(fontSize: 13.0, ), ), ], ), ), SizedBox( height: 5, ), Divider( color: Colors.grey, height: 20, ), InkWell( child: Row( children: [ SvgPicture.asset( 'assets/images/pharmacy/shipping_addresses_icon.svg', width: 30, height: 30,), SizedBox( width: 20, ), Text(TranslationBase.of(context).shippingAddresses, style: TextStyle(fontSize: 13.0, ), ), ], ), ), ], ), ), SizedBox( height: 10, ), Divider( color: Colors.grey[350], height: 20, thickness: 5, indent: 0, endIndent: 0, ), SizedBox( height: 10, ), Container( padding: EdgeInsets.only(left: 10.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( TranslationBase.of(context).reachUs, style: TextStyle( fontSize: 16.0, fontWeight: FontWeight.bold ), ), SizedBox( height: 5, ), Divider( color: Colors.grey, height: 20, ), InkWell( child: Row( children: [ SvgPicture.asset( 'assets/images/pharmacy/contact_us_icon.svg', width: 20, height: 20,), SizedBox( width: 20, ), Text( TranslationBase.of(context).contactUs, style: TextStyle(fontSize: 13.0), ), ], ), ), SizedBox( height: 5, ), Divider( color: Colors.grey, height: 20, ), InkWell( child: Row( children: [ SvgPicture.asset( 'assets/images/pharmacy/our_locations_icon.svg', width: 30, height: 30,), SizedBox( width: 20, ), Text( TranslationBase.of(context).ourLocations, style: TextStyle(fontSize: 13.0), ), ], ), ) ], ), ) ], ), ), ), ); }}