GetBottomSheet constructor

const GetBottomSheet({
  1. Widget? customTitle,
  2. String? title,
  3. String? message,
  4. Widget? content,
  5. String? action,
  6. VoidCallback? onAction,
  7. GetItemBuilder? itemBuilder,
  8. List? items,
  9. WidgetBuilder? headerBuilder,
  10. WidgetBuilder? footerBuilder,
  11. GetSectionBuilder? sectionBuilder,
  12. GetSection? section,
  13. Widget? leadingAction,
  14. List<Widget>? actions,
  15. List<Widget>? bottomActions,
  16. ScrollPhysics? physics = const AlwaysBouncingScrollPhysics(),
  17. DividerStyle? divider,
  18. EdgeInsetsGeometry? contentPadding,
  19. double initialSize = 0.6,
  20. double maxSize = 1.0,
  21. int? itemCount,
  22. bool showHandle = true,
  23. bool? centerTitle,
  24. bool autoImplyLeading = true,
  25. bool rounded = true,
  26. bool dismissOnDone = false,
  27. bool busy = false,
  28. TextEditingController? textController,
  29. String? textLabel,
  30. bool autofocus = false,
  31. int? maxInput,
  32. List<TextInputFormatter>? inputFormatters,
  33. TextInputType? keyboardType,
  34. TextInputAction? textInputAction = TextInputAction.done,
  35. OnStringCallback<String?>? textValidator,
  36. OnString? onTextChanged,
  37. OnString? onTextSubmitted,
  38. 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);