showModalBottomSheet method

void showModalBottomSheet({
  1. required AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme> spi,
  2. required AFNavigatePushAction navigate,
  3. AFReturnValueDelegate<Object?>? onReturn,
  4. Color? backgroundColor,
  5. double? elevation,
  6. ShapeBorder? shape,
  7. Clip? clipBehavior,
  8. Color? barrierColor,
  9. bool isScrollControlled = false,
  10. bool useRootNavigator = false,
  11. bool isDismissible = true,
  12. bool enableDrag = true,
  13. RouteSettings? routeSettings,
})
inherited

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

Implementation

void showModalBottomSheet({
  required AFStateProgrammingInterface spi,
  required AFNavigatePushAction navigate,
  AFReturnValueDelegate? onReturn,
  Color? backgroundColor,
  double? elevation,
  ShapeBorder? shape,
  Clip? clipBehavior,
  Color? barrierColor,
  bool isScrollControlled = false,
  bool useRootNavigator = false,
  bool isDismissible = true,
  bool enableDrag = true,
  RouteSettings? routeSettings,
}) {
  return spi.context.showModalBottomSheetAFib(
    navigate: navigate,
    onReturn: onReturn,
    backgroundColor: backgroundColor,
    elevation: elevation,
    shape: shape,
    clipBehavior: clipBehavior,
    barrierColor: barrierColor,
    isScrollControlled: isScrollControlled,
    useRootNavigator: useRootNavigator,
    isDismissible: isDismissible,
    enableDrag: enableDrag,
    routeSettings: routeSettings,
  );
}