BottomSheetDialog constructor
BottomSheetDialog({
- Key? key,
- required Widget title,
- List<
Widget> children = const [], - EdgeInsetsGeometry padding = const EdgeInsets.only(left: 5, right: 5, bottom: 10),
- Widget? operation,
- Widget? titleLeft,
- Widget? titleRight,
- double height = 300,
- double? width,
- VoidCallback? onOk,
- VoidCallback? onClose,
- Color backgroundColor = Colors.white,
- 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);