MultiStateSheetAnimatedWidgetBuilder<StateType> typedef

MultiStateSheetAnimatedWidgetBuilder<StateType> = Widget Function(BuildContext context, StateType state, double interpolation, Widget? child)

A function type used to build sheet's state aware animated widgets.

  • context: The BuildContext for the widget.
  • state: The current state of the sheet.
  • interpolation: A value between 0.0 and 1.0 representing the animation progress.
  • child: An optional child widget to optimize builds.

Implementation

typedef MultiStateSheetAnimatedWidgetBuilder<StateType> = Widget Function(
  BuildContext context,
  StateType state,
  double interpolation,
  Widget? child,
);