OptionDrawer constructor

const OptionDrawer({
  1. Key? key,
  2. required Widget child,
  3. Color? color,
  4. double elevation = 2,
  5. EdgeInsetsGeometry margin = EdgeInsets.zero,
  6. Clip clipBehavior = Clip.hardEdge,
  7. ShapeBorder shape = _kDefaultOptionDrawerShape,
  8. Widget? title,
  9. List<Widget> actions = const [],
})

Creates a widget that will be shown in the attachment picker.

Implementation

const OptionDrawer({
  super.key,
  required this.child,
  this.color,
  this.elevation = 2,
  this.margin = EdgeInsets.zero,
  this.clipBehavior = Clip.hardEdge,
  this.shape = _kDefaultOptionDrawerShape,
  this.title,
  this.actions = const [],
});