STBottomSheetButton constructor
const
STBottomSheetButton({
- Key? key,
- double contentHeight = 200.0,
- required Widget child,
- required Widget content,
- EdgeInsetsGeometry? buttonPadding = const EdgeInsets.all(15),
- BoxDecoration? buttonStyle,
- double buttonHeight = 50,
- BoxDecoration? contentStyle,
- double buttonWidth = 150,
- EdgeInsetsGeometry? contentPadding = const EdgeInsets.all(10),
- Alignment buttonAlignment = Alignment.center,
- bool showDragHandle = true,
- Color sheetBackgroundColor = Colors.white,
Implementation
const STBottomSheetButton(
{super.key,
this.contentHeight = 200.0,
required this.child,
required this.content,
this.buttonPadding = const EdgeInsets.all(15),
this.buttonStyle,
this.buttonHeight = 50,
this.contentStyle,
this.buttonWidth = 150,
this.contentPadding = const EdgeInsets.all(10),
this.buttonAlignment = Alignment.center,
this.showDragHandle = true,
this.sheetBackgroundColor = Colors.white});