GetBottomSheet class

Inheritance
Available Extensions

Constructors

GetBottomSheet({Widget? customTitle, String? title, String? message, Widget? content, String? action, VoidCallback? onAction, GetItemBuilder? itemBuilder, List? items, WidgetBuilder? headerBuilder, WidgetBuilder? footerBuilder, GetSectionBuilder? sectionBuilder, GetSection? section, Widget? leadingAction, List<Widget>? actions, List<Widget>? bottomActions, ScrollPhysics? physics = const AlwaysBouncingScrollPhysics(), DividerStyle? divider, EdgeInsetsGeometry? contentPadding, double initialSize = 0.6, double maxSize = 1.0, int? itemCount, bool showHandle = true, bool? centerTitle, bool autoImplyLeading = true, bool rounded = true, bool dismissOnDone = false, bool busy = false, TextEditingController? textController, String? textLabel, bool autofocus = false, int? maxInput, List<TextInputFormatter>? inputFormatters, TextInputType? keyboardType, TextInputAction? textInputAction = TextInputAction.done, OnStringCallback<String?>? textValidator, OnString? onTextChanged, OnString? onTextSubmitted, Key? key})
const
GetBottomSheet.max({Widget? customTitle, String? title, String? message, Widget? content, String? action, VoidCallback? onAction, GetItemBuilder? itemBuilder, List? items, WidgetBuilder? headerBuilder, WidgetBuilder? footerBuilder, GetSectionBuilder? sectionBuilder, GetSection? section, Widget? leadingAction, List<Widget>? actions, List<Widget>? bottomActions, ScrollPhysics? physics = const AlwaysBouncingScrollPhysics(), DividerStyle? divider, EdgeInsetsGeometry? contentPadding, double initialSize = 1.0, double maxSize = 1.0, int? itemCount, bool showHandle = true, bool? centerTitle, bool autoImplyLeading = true, bool rounded = true, bool dismissOnDone = false, bool busy = false, TextEditingController? textController, String? textLabel, bool autofocus = false, int? maxInput, List<TextInputFormatter>? inputFormatters, TextInputType? keyboardType, TextInputAction? textInputAction = TextInputAction.done, OnStringCallback<String?>? textValidator, OnString? onTextChanged, OnString? onTextSubmitted, Key? key})
const
GetBottomSheet.mid({Widget? customTitle, String? title, String? message, Widget? content, String? action, VoidCallback? onAction, GetItemBuilder? itemBuilder, List? items, WidgetBuilder? headerBuilder, WidgetBuilder? footerBuilder, GetSectionBuilder? sectionBuilder, GetSection? section, Widget? leadingAction, List<Widget>? actions, List<Widget>? bottomActions, ScrollPhysics? physics = const AlwaysBouncingScrollPhysics(), DividerStyle? divider, EdgeInsetsGeometry? contentPadding, double initialSize = 0.5, double maxSize = 1.0, int? itemCount, bool showHandle = true, bool? centerTitle, bool autoImplyLeading = true, bool rounded = true, bool dismissOnDone = false, bool busy = false, TextEditingController? textController, String? textLabel, bool autofocus = false, int? maxInput, List<TextInputFormatter>? inputFormatters, TextInputType? keyboardType, TextInputAction? textInputAction = TextInputAction.done, OnStringCallback<String?>? textValidator, OnString? onTextChanged, OnString? onTextSubmitted, Key? key})
const
GetBottomSheet.text({Widget? customTitle, String? title, String? message, Widget? content, String? action, VoidCallback? onAction, GetItemBuilder? itemBuilder, List? items, WidgetBuilder? headerBuilder, WidgetBuilder? footerBuilder, GetSectionBuilder? sectionBuilder, GetSection? section, Widget? leadingAction, List<Widget>? actions, List<Widget>? bottomActions, ScrollPhysics? physics = const AlwaysBouncingScrollPhysics(), DividerStyle? divider, EdgeInsetsGeometry? contentPadding, double initialSize = 0.6, double maxSize = 1.0, int? itemCount, bool showHandle = true, bool? centerTitle, bool autoImplyLeading = true, bool rounded = true, bool dismissOnDone = false, bool busy = false, required TextEditingController textController, String? textLabel, bool autofocus = true, int? maxInput, List<TextInputFormatter>? inputFormatters, TextInputType? keyboardType, TextInputAction? textInputAction = TextInputAction.done, OnStringCallback<String?>? textValidator, OnString? onTextChanged, OnString? onTextSubmitted, Key? key})
const

Properties

action String?
final
actions List<Widget>?
final
autofocus bool
final
autoImplyLeading bool
final
bottomActions List<Widget>?
final
busy bool
final
centerTitle bool?
final
content Widget?
final
contentPadding EdgeInsetsGeometry?
final
customLeading bool
no setter
customTitle Widget?
final
dismissOnDone bool
final
divider DividerStyle?
final
footerBuilder WidgetBuilder?
final
hashCode int
The hash code for this object.
no setterinherited
headerBuilder WidgetBuilder?
final
initialSize double
final
inputFormatters List<TextInputFormatter>?
final
itemBuilder GetItemBuilder?
final
itemCount int?
final
items List?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
leadingAction Widget?
final
maxInput int?
final
maxSize double
final
message String?
final
onAction VoidCallback?
final
onTextChanged OnString?
final
onTextSubmitted OnString?
final
physics ScrollPhysics?
final
rounded bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
section GetSection?
final
sectionBuilder GetSectionBuilder?
final
shape ShapeBorder
no setter
showHandle bool
final
showToolbar bool
no setter
textController TextEditingController?
final
textInputAction TextInputAction?
final
textLabel String?
final
textValidator OnStringCallback<String?>?
final
title String?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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

Constants

kEdgePadding → const double