|
|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
import 'package:doctor_app_flutter/routes.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/screens/profile_screen.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
import '../../config/size_config.dart';
|
|
|
|
|
@ -25,29 +26,33 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
child: ListView(padding: EdgeInsets.zero, children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
height: SizeConfig.heightMultiplier * 30,
|
|
|
|
|
child: DrawerHeader(
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
CircleAvatar(
|
|
|
|
|
radius: SizeConfig.imageSizeMultiplier * 12,
|
|
|
|
|
backgroundImage: NetworkImage(
|
|
|
|
|
"https://p.kindpng.com/picc/s/404-4042774_profile-photo-circle-circle-profile-picture-png-transparent.png"),
|
|
|
|
|
backgroundColor: Colors.transparent,
|
|
|
|
|
),
|
|
|
|
|
Padding(
|
|
|
|
|
padding: EdgeInsets.only(top: 10),
|
|
|
|
|
child: AppText(
|
|
|
|
|
"Dr. Chris evans",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 3,
|
|
|
|
|
)),
|
|
|
|
|
AppText("Director of medical records",
|
|
|
|
|
fontWeight: FontWeight.normal, color: Colors.white)
|
|
|
|
|
],
|
|
|
|
|
child: InkWell(
|
|
|
|
|
child: DrawerHeader(
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
CircleAvatar(
|
|
|
|
|
radius: SizeConfig.imageSizeMultiplier * 12,
|
|
|
|
|
backgroundImage: NetworkImage(
|
|
|
|
|
"https://p.kindpng.com/picc/s/404-4042774_profile-photo-circle-circle-profile-picture-png-transparent.png"),
|
|
|
|
|
backgroundColor: Colors.transparent,
|
|
|
|
|
),
|
|
|
|
|
Padding(
|
|
|
|
|
padding: EdgeInsets.only(top: 10),
|
|
|
|
|
child: AppText(
|
|
|
|
|
"Dr. Chris evans",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 3,
|
|
|
|
|
)),
|
|
|
|
|
AppText("Director of medical records",
|
|
|
|
|
fontWeight: FontWeight.normal, color: Colors.white)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
onTap: () {
|
|
|
|
|
Navigator.of(context).pushNamed(PROFILE);
|
|
|
|
|
}, ),
|
|
|
|
|
),
|
|
|
|
|
InkWell(
|
|
|
|
|
child: DrawerItem("My Schedule", Icons.table_chart),
|
|
|
|
|
|