GetBottomSheet constructor
const
GetBottomSheet({
- Widget? customTitle,
- String? title,
- String? message,
- Widget? content,
- String? action,
- VoidCallback? onAction,
- GetItemBuilder? itemBuilder,
- List? items,
- WidgetBuilder? headerBuilder,
- 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,
Implementation
const GetBottomSheet({
this.customTitle,
this.title,
this.message,
this.content,
this.action,
this.onAction,
this.itemBuilder,
this.items,
this.headerBuilder,
this.footerBuilder,
this.sectionBuilder,
this.section,
this.leadingAction,
this.actions,
this.bottomActions,
this.physics = const AlwaysBouncingScrollPhysics(),
this.divider,
this.contentPadding,
this.initialSize = 0.6,
this.maxSize = 1.0,
this.itemCount,
this.showHandle = true,
this.centerTitle,
this.autoImplyLeading = true,
this.rounded = true,
this.dismissOnDone = false,
this.busy = false,
this.textController,
this.textLabel,
this.autofocus = false,
this.maxInput,
this.inputFormatters,
this.keyboardType,
this.textInputAction = TextInputAction.done,
this.textValidator,
this.onTextChanged,
this.onTextSubmitted,
Key? key,
}) : super(key: key);