DropdownMenuThemeData constructor
Creates a DropdownMenuThemeData that can be used to override default properties in a DropdownMenuTheme widget.
Implementation
const DropdownMenuThemeData({
this.textStyle,
// TODO(bleroux): Clean this up once `InputDecorationTheme` is fully normalized.
Object? inputDecorationTheme,
this.menuStyle,
this.disabledColor,
}) : assert(
inputDecorationTheme == null ||
(inputDecorationTheme is InputDecorationTheme ||
inputDecorationTheme is InputDecorationThemeData),
),
_inputDecorationTheme = inputDecorationTheme;