|
|
|
@ -48,6 +48,10 @@ import 'labs/labs_home_page.dart';
|
|
|
|
|
import 'my_trackers/my_trackers.dart';
|
|
|
|
|
|
|
|
|
|
class MedicalProfilePage extends StatefulWidget {
|
|
|
|
|
|
|
|
|
|
final bool isFromAllServicePage;
|
|
|
|
|
|
|
|
|
|
const MedicalProfilePage({ this.isFromAllServicePage = false}) ;
|
|
|
|
|
@override
|
|
|
|
|
_MedicalProfilePageState createState() => _MedicalProfilePageState();
|
|
|
|
|
}
|
|
|
|
@ -60,6 +64,7 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
projectViewModel = Provider.of(context);
|
|
|
|
|
|
|
|
|
|
var appoCountProvider = Provider.of<ToDoCountProviderModel>(context);
|
|
|
|
|
List<Widget> myMedicalList = Utils.myMedicalList(
|
|
|
|
|
projectViewModel: projectViewModel,
|
|
|
|
@ -68,11 +73,11 @@ class _MedicalProfilePageState extends State<MedicalProfilePage> {
|
|
|
|
|
isLogin: projectViewModel.isLogin);
|
|
|
|
|
return BaseView<MedicalViewModel>(
|
|
|
|
|
onModelReady: (model) => model.getAppointmentHistory(),
|
|
|
|
|
builder: (_, model, widget) => AppScaffold(
|
|
|
|
|
builder: (_, model, x) => AppScaffold(
|
|
|
|
|
isShowDecPage: false,
|
|
|
|
|
baseViewModel: model,
|
|
|
|
|
isHelp: true,
|
|
|
|
|
isShowBottomNavBar: false,
|
|
|
|
|
isShowBottomNavBar: widget.isFromAllServicePage,
|
|
|
|
|
|
|
|
|
|
body: Container(
|
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
|