keyed_collection_widgets 0.4.1 keyed_collection_widgets: ^0.4.1 copied to clipboard
BottomNavigationBar, IndexedStack, and TabController that use item keys instead of indexes.
0.4.1 #
- Fix formatting.
0.4.0 #
- BREAKING: Setting
currentKey
to anything not inkeys
now throwsArgumentError
. Before it was setting the key to the first valid one. - BREAKING: Nullable types are disallowed for tabs key type parameter.
- BREAKING:
UnanimatedKeyedTabController
changed the constructor argumentcurrentKey
toinitialKey
to align withKeyedTabController
andTabController
. - Renamed
KeyedStaticTabController
toKeyedUnanimatedTabController
to reduce confusion. A deprecatedtypedef
was added for backward compatibility. - Added
DefaultKeyedTabController
. - Added
KeyedTabController.fromUnanimated
to link the controller withUnanimatedKeyedTabController
, andunanimated
getter and setter. - Added
KeyedTabController.animationDuration
setter 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
children
inKeyedStack
. - Use
total_lints
, fixed linter issues. KeyedBottomNavigationBar
extendsBottomNavigationBar
instead of composition to avoid duplicating properties.KeyedStack
extendsIndexedStack
instead of composition to avoid duplicating properties.- Fixed formatting.
- Improved docs.
0.2.0 #
- BREAKING: Updated
KeyedTabController
to Flutter 2.10 API, require Flutter 2.10.
0.1.2 #
- Allow not found keys in
KeyedTabController
for consistency withKeyedStaticTabController
.
0.1.1 #
- Added
KeyedTabController
,KeyedStaticTabController
,KeyedTabBar
,KeyedTabBarView
.
0.1.0 #
- Initial release.