|
|
@ -140,49 +140,50 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
Stack(children: [
|
|
|
|
Stack(children: [
|
|
|
|
Column(
|
|
|
|
Column(
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
ProfileWelcomeWidget(
|
|
|
|
|
|
|
|
Container(
|
|
|
|
// ProfileWelcomeWidget(
|
|
|
|
width: MediaQuery.of(context).size.width * .6,
|
|
|
|
// Container(
|
|
|
|
// height: 100,
|
|
|
|
// width: MediaQuery.of(context).size.width * .6,
|
|
|
|
child: DropdownButtonHideUnderline(
|
|
|
|
// // height: 100,
|
|
|
|
child: DropdownButton(
|
|
|
|
// child: DropdownButtonHideUnderline(
|
|
|
|
dropdownColor: Colors.white,
|
|
|
|
// child: DropdownButton(
|
|
|
|
iconEnabledColor: Colors.white,
|
|
|
|
// dropdownColor: Colors.white,
|
|
|
|
isExpanded: true,
|
|
|
|
// iconEnabledColor: Colors.white,
|
|
|
|
value: clinicId,
|
|
|
|
// isExpanded: true,
|
|
|
|
iconSize: 25,
|
|
|
|
// value: clinicId,
|
|
|
|
elevation: 16,
|
|
|
|
// iconSize: 25,
|
|
|
|
selectedItemBuilder: (BuildContext context) {
|
|
|
|
// elevation: 16,
|
|
|
|
return projectsProvider.doctorClinicsList
|
|
|
|
// selectedItemBuilder: (BuildContext context) {
|
|
|
|
.map((item) {
|
|
|
|
// return projectsProvider.doctorClinicsList
|
|
|
|
return Row(
|
|
|
|
// .map((item) {
|
|
|
|
mainAxisSize: MainAxisSize.max,
|
|
|
|
// return Row(
|
|
|
|
children: <Widget>[
|
|
|
|
// mainAxisSize: MainAxisSize.max,
|
|
|
|
AppText(
|
|
|
|
// children: <Widget>[
|
|
|
|
item.clinicName,
|
|
|
|
// AppText(
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.1,
|
|
|
|
// item.clinicName,
|
|
|
|
color: Colors.white,
|
|
|
|
// fontSize: SizeConfig.textMultiplier * 2.1,
|
|
|
|
),
|
|
|
|
// color: Colors.white,
|
|
|
|
],
|
|
|
|
// ),
|
|
|
|
);
|
|
|
|
// ],
|
|
|
|
}).toList();
|
|
|
|
// );
|
|
|
|
},
|
|
|
|
// }).toList();
|
|
|
|
onChanged: (newValue) {
|
|
|
|
// },
|
|
|
|
clinicId = newValue;
|
|
|
|
// onChanged: (newValue) {
|
|
|
|
changeClinic(newValue, context);
|
|
|
|
// clinicId = newValue;
|
|
|
|
},
|
|
|
|
// changeClinic(newValue, context);
|
|
|
|
items: projectsProvider.doctorClinicsList.map((item) {
|
|
|
|
// },
|
|
|
|
return DropdownMenuItem(
|
|
|
|
// items: projectsProvider.doctorClinicsList.map((item) {
|
|
|
|
child: Text(
|
|
|
|
// return DropdownMenuItem(
|
|
|
|
item.clinicName,
|
|
|
|
// child: Text(
|
|
|
|
textAlign: TextAlign.end,
|
|
|
|
// item.clinicName,
|
|
|
|
),
|
|
|
|
// textAlign: TextAlign.end,
|
|
|
|
value: item.clinicID,
|
|
|
|
// ),
|
|
|
|
);
|
|
|
|
// value: item.clinicID,
|
|
|
|
}).toList(),
|
|
|
|
// );
|
|
|
|
)),
|
|
|
|
// }).toList(),
|
|
|
|
),
|
|
|
|
// )),
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// ),
|
|
|
|
// InkWell(
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () async {
|
|
|
|
// onTap: () async {
|
|
|
|
// showCupertinoPicker(
|
|
|
|
// showCupertinoPicker(
|
|
|
|