STBottomSheetButton constructor

const STBottomSheetButton({
  1. Key? key,
  2. double contentHeight = 200.0,
  3. required Widget child,
  4. required Widget content,
  5. EdgeInsetsGeometry? buttonPadding = const EdgeInsets.all(15),
  6. BoxDecoration? buttonStyle,
  7. double buttonHeight = 50,
  8. BoxDecoration? contentStyle,
  9. double buttonWidth = 150,
  10. EdgeInsetsGeometry? contentPadding = const EdgeInsets.all(10),
  11. Alignment buttonAlignment = Alignment.center,
  12. bool showDragHandle = true,
  13. 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});