MenuStyle constructor
- WidgetStateProperty<
Color?> ? backgroundColor, - WidgetStateProperty<
Color?> ? shadowColor, - WidgetStateProperty<
Color?> ? surfaceTintColor, - WidgetStateProperty<
double?> ? elevation, - WidgetStateProperty<
EdgeInsetsGeometry?> ? padding, - WidgetStateProperty<
Size?> ? minimumSize, - WidgetStateProperty<
Size?> ? fixedSize, - WidgetStateProperty<
Size?> ? maximumSize, - WidgetStateProperty<
BorderSide?> ? side, - WidgetStateProperty<
OutlinedBorder?> ? shape, - WidgetStateProperty<
MouseCursor?> ? mouseCursor, - VisualDensity? visualDensity,
- AlignmentGeometry? alignment,
Create a MenuStyle.
Implementation
const MenuStyle({
this.backgroundColor,
this.shadowColor,
this.surfaceTintColor,
this.elevation,
this.padding,
this.minimumSize,
this.fixedSize,
this.maximumSize,
this.side,
this.shape,
this.mouseCursor,
this.visualDensity,
this.alignment,
});