-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When use customeSize, CrossAxisAlignment does not working good... #28
Comments
Merged
Hi @NewLand-Ju I published v1.0.1 which has a new StepProgressIndicator(
totalSteps: 20,
currentStep: 7,
stepMainAxisAlignment: MainAxisAlignment.end,
customStep: (index, color, size) {
return Container(
decoration: BoxDecoration(
color: color,
borderRadius: BorderRadius.circular(30),
),
);
},
selectedColor: Colors.blue,
unselectedColor: Colors.grey[300]!,
customSize: (index, _) {
double size;
if (index == 7 - 1) {
size = 30;
} else if (index == 7 - 2) {
size = 20;
} else {
size = 10;
}
return size;
},
), |
Thank! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to all steps to make it aligned down.
but not working....
I want to make it like the picture below.
The text was updated successfully, but these errors were encountered: