MenuFlyout constructor

const MenuFlyout({
  1. Key? key,
  2. List<MenuFlyoutItemBase> items = const [],
  3. Color? color,
  4. ShapeBorder? shape,
  5. Color shadowColor = Colors.black,
  6. double elevation = 8.0,
  7. BoxConstraints? constraints,
  8. EdgeInsetsGeometry? padding = const EdgeInsetsDirectional.only(top: 8.0),
})

Creates a menu flyout.

Implementation

const MenuFlyout({
  super.key,
  this.items = const [],
  this.color,
  this.shape,
  this.shadowColor = Colors.black,
  this.elevation = 8.0,
  this.constraints,
  this.padding = const EdgeInsetsDirectional.only(top: 8.0),
});