AnimatedCategory<T> constructor
const
AnimatedCategory<T> ({
- required Widget childBuilder(
- SuggestionItem item,
- T data
- required List items,
- dynamic itemSelected()?,
- Key key = const ValueKey(101010),
- int? clickedItemDelay,
- double startSize = 100.0,
- double deltaSizeSecondTap = 200.0,
- double deltaSizeFirstTap = 50.0,
- int itemAnimationDuration = 400,
- Curve itemCurve = Curves.bounceInOut,
- int stackAnimatedDuration = 600,
- int columnNumber = 4,
- Curve stackCurve = Curves.easeInOutQuint,
Implementation
const AnimatedCategory({
required this.childBuilder,
required this.items,
this.itemSelected,
this.key = const ValueKey(101010),
this.clickedItemDelay,
this.startSize = 100.0,
this.deltaSizeSecondTap = 200.0,
this.deltaSizeFirstTap = 50.0,
this.itemAnimationDuration = 400,
this.itemCurve = Curves.bounceInOut,
this.stackAnimatedDuration = 600,
this.columnNumber = 4,
this.stackCurve = Curves.easeInOutQuint,
}) : super(key: key);