AnimationComponentData constructor

AnimationComponentData({
  1. required BuildContext context,
  2. required BoxConstraints? constraints,
  3. required TickerProvider tickerProvider,
  4. required MenuAnimationDurations menuAnimationDurations,
  5. required MenuState? menuState,
  6. required Widget child,
  7. required dynamic selectedItem,
  8. required MenuStateChanged opened,
  9. required MenuStateChanged closed,
  10. required MenuStateWillChangeAfter willOpenAfter,
  11. required MenuStateWillChangeAfter willCloseAfter,
  12. required MenuAnimationCurves menuAnimationCurves,
})

Implementation

AnimationComponentData({
  required this.context,
  required this.constraints,
  required this.tickerProvider,
  required this.menuAnimationDurations,
  required this.menuState,
  required this.child,
  required this.selectedItem,
  required this.opened,
  required this.closed,
  required this.willOpenAfter,
  required this.willCloseAfter,
  required this.menuAnimationCurves,
});