showBottomSheet method

void showBottomSheet({
  1. required AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme> spi,
  2. required AFNavigatePushAction navigate,
  3. Color? backgroundColor,
  4. double? elevation,
  5. ShapeBorder? shape,
  6. Clip? clipBehavior,
})
inherited

See AFBuildContext.showBottomSheet, this is a one line call to that method, here for discoverability.

Implementation

void showBottomSheet({
  required AFStateProgrammingInterface spi,
  required AFNavigatePushAction navigate,
  Color? backgroundColor,
  double? elevation,
  ShapeBorder? shape,
  Clip? clipBehavior,
}) {
  return spi.context.showBottomSheet(
    navigate: navigate,
    backgroundColor: backgroundColor,
    elevation: elevation,
    shape: shape,
    clipBehavior: clipBehavior,
  );
}