build method

  1. @override
Widget build(
  1. BuildContext context,
  2. StateType state,
  3. double interpolation
)
override

Builds the widget based on the current state and animation interpolation.

  • 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.

Implementation

@override
Widget build(
  BuildContext context,
  StateType state,
  double interpolation,
) =>
    _builder(context, state, interpolation, _child);