buildSheet method

Widget buildSheet(
  1. BuildContext context
)

Implementation

Widget buildSheet(BuildContext context) {
  SheetPhysics? _physics = SnapSheetPhysics(
    stops: stops ?? <double>[0, 1],
    parent: physics,
  );
  if (!draggable) {
    _physics = const NeverDraggableSheetPhysics();
  }
  return Sheet.raw(
    initialExtent: initialExtent,
    decorationBuilder: decorationBuilder,
    fit: fit,
    physics: _physics,
    controller: sheetController,
    child: Builder(builder: builder),
  );
}