Modal constructor
Modal({
- required bool open,
- String? title,
- Object? child,
- List<
Object?> children = const [], - Object? actions,
- String size = 'md',
- String? className,
- Map<
String, Object?> props = const {}, - Map<
String, Object?> style = const {}, - DartStyle? dartStyle,
- void onClose(
- Object event
- bool closeOnBackdrop = true,
Creates a modal dialog controlled by open.
Implementation
Modal({
required this.open,
this.title,
this.child,
this.children = const [],
this.actions,
this.size = 'md',
this.className,
this.props = const {},
this.style = const {},
this.dartStyle,
this.onClose,
this.closeOnBackdrop = true,
});