$showModalBottomSheetDeclaration top-level constant
BridgeFunctionDeclaration
const $showModalBottomSheetDeclaration
Implementation
const $showModalBottomSheetDeclaration = BridgeFunctionDeclaration(
'package:flutter/src/material/bottom_sheet.dart',
'showModalBottomSheet',
BridgeFunctionDef(
returns: BridgeTypeAnnotation(
BridgeTypeRef(CoreTypes.future, [
BridgeTypeAnnotation(BridgeTypeRef.ref('T'), nullable: true),
]),
),
namedParams: [
BridgeParameter(
'context', BridgeTypeAnnotation($BuildContextType), false),
BridgeParameter(
'builder',
BridgeTypeAnnotation(
BridgeTypeRef.genericFunction(
BridgeFunctionDef(
returns: BridgeTypeAnnotation($WidgetType),
params: [
BridgeParameter(
'context', BridgeTypeAnnotation($BuildContextType), false),
],
),
),
),
false,
),
BridgeParameter('backgroundColor',
BridgeTypeAnnotation($ColorType, nullable: true), true),
BridgeParameter(
'barrierLabel',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string, []),
nullable: true),
true),
BridgeParameter(
'elevation',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double, []),
nullable: true),
true),
BridgeParameter('shape',
BridgeTypeAnnotation($ShapeBorderType, nullable: true), true),
BridgeParameter('clipBehavior',
BridgeTypeAnnotation($ClipType, nullable: true), true),
BridgeParameter('constraints',
BridgeTypeAnnotation($BoxConstraintsType, nullable: true), true),
BridgeParameter('barrierColor',
BridgeTypeAnnotation($ColorType, nullable: true), true),
BridgeParameter('isScrollControlled',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool, [])), true),
BridgeParameter('scrollControlDisabledMaxHeightRatio',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double, [])), true),
BridgeParameter('useRootNavigator',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool, [])), true),
BridgeParameter('isDismissible',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool, [])), true),
BridgeParameter('enableDrag',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool, [])), true),
BridgeParameter(
'showDragHandle',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool, []),
nullable: true),
true),
BridgeParameter('useSafeArea',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool, [])), true),
BridgeParameter('routeSettings',
BridgeTypeAnnotation($RouteSettingsType, nullable: true), true),
BridgeParameter('transitionAnimationController',
BridgeTypeAnnotation($AnimationControllerType, nullable: true), true),
BridgeParameter('anchorPoint',
BridgeTypeAnnotation($OffsetType, nullable: true), true),
BridgeParameter(
'requestFocus',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool, []),
nullable: true),
true),
],
),
);