keyed_collection_widgets 0.4.3
keyed_collection_widgets: ^0.4.3 copied to clipboard
BottomNavigationBar, IndexedStack, and TabController that use item keys instead of indexes.
0.4.3 #
- Added
onChangedcallback toDefaultKeyedTabController.fromKeysandDefaultKeyedTabController.fromUnanimated.
0.4.2 #
- Added
KeyedBottomNavigationBar.keyOrder.
0.4.1 #
- Fix formatting.
0.4.0 #
- BREAKING: Setting
currentKeyto anything not inkeysnow throwsArgumentError. Before it was setting the key to the first valid one. - BREAKING: Nullable types are disallowed for tabs key type parameter.
- BREAKING:
UnanimatedKeyedTabControllerchanged the constructor argumentcurrentKeytoinitialKeyto align withKeyedTabControllerandTabController. - Renamed
KeyedStaticTabControllertoKeyedUnanimatedTabControllerto reduce confusion. A deprecatedtypedefwas added for backward compatibility. - Added
DefaultKeyedTabController. - Added
KeyedTabController.fromUnanimatedto link the controller withUnanimatedKeyedTabController, andunanimatedgetter and setter. - Added
KeyedTabController.animationDurationsetter to change the animation duration on an existing controller. - Deprecated
KeyedTabController.updateFromStatic()andUnanimatedKeyedTabController.updateFromAnimated(). - Expanded the examples.
- Expanded the README.
- Added tests.
0.3.2 #
- Remove an accidentally published temp file.
0.3.1 #
- Re-licensed under MIT No Attribution.
0.3.0 #
- BREAKING: Require Flutter 3.
- BREAKING: Require
childreninKeyedStack. - Use
total_lints, fixed linter issues. KeyedBottomNavigationBarextendsBottomNavigationBarinstead of composition to avoid duplicating properties.KeyedStackextendsIndexedStackinstead of composition to avoid duplicating properties.- Fixed formatting.
- Improved docs.
0.2.0 #
- BREAKING: Updated
KeyedTabControllerto Flutter 2.10 API, require Flutter 2.10.
0.1.2 #
- Allow not found keys in
KeyedTabControllerfor consistency withKeyedStaticTabController.
0.1.1 #
- Added
KeyedTabController,KeyedStaticTabController,KeyedTabBar,KeyedTabBarView.
0.1.0 #
- Initial release.