BottomSheetDialog constructor

BottomSheetDialog({
  1. Key? key,
  2. required Widget title,
  3. List<Widget> children = const [],
  4. EdgeInsetsGeometry padding = const EdgeInsets.only(left: 5, right: 5, bottom: 10),
  5. Widget? operation,
  6. Widget? titleLeft,
  7. Widget? titleRight,
  8. double height = 300,
  9. double? width,
  10. VoidCallback? onOk,
  11. VoidCallback? onClose,
  12. Color backgroundColor = Colors.white,
  13. double? offsetWithEnd,
})

Implementation

BottomSheetDialog({
  Key? key,
  required this.title,
  this.children = const [],
  this.padding = const EdgeInsets.only(left: 5, right: 5, bottom: 10),
  this.operation,
  this.titleLeft,
  this.titleRight,
  this.height = 300,
  this.width,
  this.onOk,
  this.onClose,
  this.backgroundColor = Colors.white,
  this.offsetWithEnd,
}) : super(key: key);