showModalBottomSheet method
void
showModalBottomSheet({
- required AFStateProgrammingInterface<
AFComponentState, AFBuildContext< spi,AFFlexibleStateView, AFRouteParam> , AFFunctionalTheme> - AFReturnValueDelegate<
Object?> ? onReturn, - Color? backgroundColor,
- double? elevation,
- ShapeBorder? shape,
- Clip? clipBehavior,
- Color? barrierColor,
- bool isScrollControlled = false,
- bool isDismissible = true,
- bool enableDrag = true,
- 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,
);
}