Modal Bottom Sheet Action
TheStacModalBottomSheetAction
class is used to display a modal bottom sheet in Stac applications.
Properties
Property | Type | Description |
---|---|---|
widget | Map<String, dynamic>? | The widget to display inside the modal bottom sheet. |
request | StacNetworkRequest? | The network request to perform before displaying the modal bottom sheet. |
assetPath | String? | The asset path of the widget to display inside the modal bottom sheet. |
backgroundColor | String? | The background color of the modal bottom sheet. |
barrierLabel | String? | The semantic label for the modal barrier. |
elevation | double? | The elevation of the modal bottom sheet. |
shape | StacBorder? | The shape of the modal bottom sheet. |
constraints | StacBoxConstraints? | The constraints for the modal bottom sheet. |
barrierColor | String? | The color of the modal barrier. |
isScrollControlled | bool | Whether the modal bottom sheet is scroll controlled. Defaults to false . |
useRootNavigator | bool | Whether to use the root navigator. Defaults to false . |
isDismissible | bool | Whether the modal bottom sheet is dismissible. Defaults to true . |
enableDrag | bool | Whether the modal bottom sheet can be dragged. Defaults to true . |
showDragHandle | bool? | Whether to show a drag handle on the modal bottom sheet. |
useSafeArea | bool | Whether to use the safe area. Defaults to false . |