SeniorBottomSheet class

Constructors

SeniorBottomSheet()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

showBottomSheet({required BuildContext context, required List<Widget> content, required bool hasCloseButton, required double height, String? title, TextStyle? titleTextStyle, VoidCallback? onTapCloseButton, SeniorBottomSheetStyle? style, bool isDismissible = false, bool enableDrag = false}) Future
Adds a bottom sheet component to the application.
showDynamicBottomSheet({required BuildContext context, required List<Widget> content, required bool hasCloseButton, String? title, TextStyle? titleTextStyle, VoidCallback? onTapCloseButton, SeniorBottomSheetStyle? style, bool isDismissible = false, bool enableDrag = false}) Future
Adds a bottom sheet component to the application with dynamic height. The height of bottom sheet will be the same of content's height. The context, content and hasCloseButton parameters are required. The context parameter expects to receive the current application context. The content parameter specifies the list of internal elements that will be presented in the bottom sheet. The hasCloseButton parameter specifies whether the bottom sheet will have a button to close it. The title parameter sets a title for the bottom sheet. The titleTextStyle parameter sets the bottom sheet title text style. The onTapCloseButton parameter specifies a function that will be executed whenever the close button is tapped. The style parameter contains the component's style settings. The isDismissible parameter specifies whether the bottom sheet will be dismissed when user taps on the scrim. The enableDrag parameter specifies whether the bottom sheet can be dragged up and down and dismissed by swiping downwards.