Skip to content

Commit 2d35e8f

Browse files
authored
Merge pull request #6 from Iconica-Development/feature/expanded-fix
Refactor Stepper to be more consistent, maintainable and readable
2 parents ceea128 + 52aa1ce commit 2d35e8f

5 files changed

Lines changed: 304 additions & 210 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [2.0.0] - 5 Januari 2023
2+
- Update stepper to allow for growable content in rows
3+
- Refactor structure of app for better maintenance
4+
- Rename showAllStepExpandedOne to showOnlyCurrentStep
5+
16
## [1.0.2] - 25 November 2022
27

38
- Updated the basic styling of the stepper component

example/lib/vertical_single.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class VerticalSinglePageStepper extends StatefulWidget {
1414
}
1515

1616
class _VerticalSinglePageStepperState extends State<VerticalSinglePageStepper> {
17-
int _currentStep = 1;
17+
int _currentStep = 0;
1818

1919
@override
2020
Widget build(BuildContext context) {
@@ -23,6 +23,7 @@ class _VerticalSinglePageStepperState extends State<VerticalSinglePageStepper> {
2323
SingleChildScrollView(
2424
scrollDirection: Axis.vertical,
2525
child: MultiStepperView(
26+
showOnlyCurrentStep: true,
2627
theme: StepperTheme(
2728
stepIndicatorTheme: StepIndicatorTheme(
2829
activeBackgroundColor: Colors.white,

0 commit comments

Comments
 (0)