menuButtonThemeData static method
MenuButtonThemeData
menuButtonThemeData({
Implementation
static MenuButtonThemeData menuButtonThemeData({
required Palette colors,
required double scale,
OutlinedBorder? shape,
}) {
shape ??= const MonetShapeTheme().resolve(scale).border();
return MenuButtonThemeData(
style: textButtonStyle(colors, scale: scale).copyWith(
padding: WidgetStateProperty.all(const EdgeInsets.all(4)),
shape: WidgetStatePropertyAll(shape),
),
);
}