TxBottomSheet constructor
const
TxBottomSheet({
- required Widget content,
- Key? key,
- Widget? header,
- String? title,
- double? titleSpacing,
- bool? centerTitle,
- Widget? leading,
- double? leadingWidth,
- bool automaticallyImplyLeading = true,
- List<
Widget> ? actions, - VoidCallback? onConfirm,
- VoidCallback? onCancel,
- String? textConfirm,
- String? textCancel,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? contentPadding = _contentPadding,
- ActionsPosition? actionsPosition,
Implementation
const TxBottomSheet({
required this.content,
super.key,
this.header,
this.title,
this.titleSpacing,
this.centerTitle,
this.leading,
this.leadingWidth,
this.automaticallyImplyLeading = true,
this.actions,
this.onConfirm,
this.onCancel,
this.textConfirm,
this.textCancel,
this.padding,
this.contentPadding = _contentPadding,
this.footer,
ActionsPosition? actionsPosition,
}) : actionsPosition = actionsPosition ?? ActionsPosition.header;