fix: stepper submission data
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user