material_segmented_control 2.0.9
material_segmented_control: ^2.0.9 copied to clipboard
A segmented control widget like the one for iOS, but in Material design.
2.0.9 Disabled feature #
- Disabled feature is now stable. Set children to be disabled with
disabledChildren
.
2.0.8 Disabled feature added #
- Fixed issue #9 - You can now set a list of disabled children
- Disabled color defaults to Colors.grey (index 300).
2.0.7 README.md: removed InkWell TODO #
2.0.6 More customization #
- Related to issue #4 you can now customize your widget in a better way.
- Set the verticalOffset that controls the padding of a child.
2.0.5 Fix: Issue #7 and InkWell ripple #
- Fixed issue #7 - MSC is now usable inside a CupertinoApp.
- InkWell ripple effect added; the Material styled ripple effect is seen on (long) tapping a segment. That makes the widget feel more like Material.
2.0.4 Fix: Issue #6 #
- Fixed bug #6 - not setting selectedColor and unselectedColor causes the library to crash.
2.0.3 Updated pubspec.yaml #
2.0.2 Minor fixes #
2.0.1 MSC v2! #
-
Maybe breaking version
-
Completely new approach behind the scenes
-
New coloring options
-
More customization
-
Define one single listener to get selected state
-
Removed issues
-
Better documentation on how to use
-
Works with every widget directly, no need to use a special class
SegmentedItem
1.2.0 Colors can now be set in MaterialSegmentedControl #
- Define colors in MSC widget generally, you do not need to specify the colors for each item separately.
1.1.3 Fixed initial selection #
1.1.2 Initial selection #
- Set initially selected item.
1.1.1 Minor fixes #
- Optical improvements
1.1.0 Fixed major bug where you can select multiple items #
1.0.2 Edited example readme #
1.0.1 Minor fixes on readme #
1.0.0 Added a list of children #
- Updated to Dart SDK version 2.2.2 !
- Provide the segmented control a list of children instead only left and right
- Define selection callback for each item itself
- Set colors for each item
0.2.1 Minor fixes #
0.2.0 Customization of vertical divider #
- Customize color
- Set width
0.1.6 Completed/fixed example directory #
0.1.5 Added example directory #
0.1.4 Minor fixes in pubspec.yaml #
0.1.3 License added. #
- Licensing info is under
LICENSE
0.1.2 Edited Readme and pubspec info #
0.1.1 21.05.2019 #
- Initial release.