WD: button name change and action on vida screen.

update_flutter_3.24_vida_plus_episode_MDS
taha.alam 11 months ago
parent c69ada4aa1
commit 09480bc994

@ -209,8 +209,6 @@ class StepsWidget extends StatelessWidget {
Positioned(
top: circleTop,
right: 0,
child: InkWell(
onTap: () => index >= 3 ? changeCurrentTab!(4) : null,
child: Column(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
@ -256,7 +254,6 @@ class StepsWidget extends StatelessWidget {
],
),
),
),
],
)
: Stack(

@ -365,7 +365,7 @@ class _EnterDiagnosisState extends State<EnterDiagnosis> {
children: [
Expanded(
child: AppButton(
title: TranslationBase.of(context).previous,
title: TranslationBase.of(context).cancelSmall,
color: Colors.grey[300]!,
fontColor: Colors.black,
fontWeight: FontWeight.w600,

@ -435,7 +435,7 @@ class _FavoriteDiagnosisState extends State<FavoriteDiagnosis> {
children: [
Expanded(
child: AppButton(
title: TranslationBase.of(context).previous,
title: TranslationBase.of(context).cancelSmall,
color: Colors.grey[300]!,
fontColor: Colors.black,
fontWeight: FontWeight.w600,

@ -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);
},
),
),

Loading…
Cancel
Save