This package will animates a segment. Package provides you a modern animated fancy segment. Show selection of tab using elastic way animation.
AnimatedSegment( list: [Strings.tab_1, Strings.tab_2, Strings.tab_3], backgroundColor: AppColors.bgColor, textColor: AppColors.white, rippleEffectColor: AppColors.primary, selectedColor: AppColors.primary, );
This property takes List as a parameter and list is useful to display items in segment.
This property takes Color value as a parameter. You can change the background color of animated segment. default value is
This property takes Color value as a parameter. You can change the text color of segmented text color. default value is
This property takes Color value as a parameter. You can change the ripple color of segment. default value is
This property takes Color value as a parameter. You can change the selected segment color of animated segment. default value is
The result returns in Uint8List. so it can be lost later, you are responsible for storing it somewhere permanent (if needed).
Guideline for contributors
Contribution towards our repository is always welcome, we request contributors to create a pull request to the develop branch only.
Guideline to report an issue/feature request
It would be great for us if the reporter can share the below things to understand the root cause of the issue.
- Library version
- Code snippet
- Logs if applicable
- Device specification like (Manufacturer, OS version, etc)
- Screenshot/video with steps to reproduce the issue
Animated Segment is MIT-licensed.
Let us know!
We’d be really happy if you send us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding our work.