Merge branch 'fix_dashboard_issues' into 'development'

revert the code

See merge request Cloud_Solution/doctor_app_flutter!325
merge-requests/326/merge
Mohammad Aljammal 5 years ago
commit 87c27173c4

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

Loading…
Cancel
Save