fix: stepper submission data

This commit is contained in:
2024-02-07 17:17:32 +07:00
parent 5e97154100
commit d672a23564
4 changed files with 14 additions and 10 deletions

View File

@@ -101,7 +101,7 @@ class _SubmissionParentState extends State<SubmissionParent> {
provider.stepAmount,
(index) => _stepItem(
isCurrentStep:
provider.currentStep == index + 1,
provider.getCurrentStep == index + 1,
),
),
),
@@ -110,10 +110,10 @@ class _SubmissionParentState extends State<SubmissionParent> {
child: Container(
padding:
const EdgeInsets.symmetric(horizontal: 16.0),
child: _content(provider.currentStep),
child: _content(provider.getCurrentStep),
),
),
provider.currentStep == 3
provider.getCurrentStep == 3
? const SizedBox()
: Align(
alignment: Alignment.bottomCenter,