|
|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
import 'package:doctor_app_flutter/config/config.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/config/size_config.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/core/enum/view_state.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/core/viewModel/SOAP_view_model.dart';
|
|
|
|
|
@ -287,15 +288,12 @@ class _UpdateSoapIndexVidaPlusState extends State<UpdateSoapIndexVidaPlus>
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: AppButton(
|
|
|
|
|
title: model.isAddProgress
|
|
|
|
|
? TranslationBase.of(context).next
|
|
|
|
|
: TranslationBase.of(context).finish,
|
|
|
|
|
title: TranslationBase.of(context).submit,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
color: Colors.red[700]!,
|
|
|
|
|
color: AppGlobal.appGreenColor,
|
|
|
|
|
disabled: !model.isProgressAdded(),
|
|
|
|
|
onPressed: () async {
|
|
|
|
|
changePageViewIndex(3);
|
|
|
|
|
// model.nextOnPlanPage(model);
|
|
|
|
|
Navigator.pop(context);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|