MenuFlyout constructor
const
MenuFlyout({
- Key? key,
- List<
MenuFlyoutItemBase> items = const [], - Color? color,
- ShapeBorder? shape,
- Color shadowColor = Colors.black,
- double elevation = 8.0,
- BoxConstraints? constraints,
- 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),
});