Drawer constructor

Drawer({
  1. required bool open,
  2. String? title,
  3. Object? child,
  4. List<Object?> children = const [],
  5. String side = 'right',
  6. String? className,
  7. Map<String, Object?> props = const {},
  8. Map<String, Object?> style = const {},
  9. DartStyle? dartStyle,
  10. void onClose(
    1. Object event
    )?,
})

Creates a drawer controlled by open.

Implementation

Drawer({
  required this.open,
  this.title,
  this.child,
  this.children = const [],
  this.side = 'right',
  this.className,
  this.props = const {},
  this.style = const {},
  this.dartStyle,
  this.onClose,
});