dropdownMenuThemeData static method

DropdownMenuThemeData dropdownMenuThemeData(
  1. Palette colors,
  2. TextTheme textTheme, [
  3. MonetShapes? shapes
])

Implementation

static DropdownMenuThemeData dropdownMenuThemeData(
  Palette colors,
  TextTheme textTheme, [
  MonetShapes? shapes,
]) {
  shapes ??= _defaultShapes;
  return DropdownMenuThemeData(
    inputDecorationTheme: const InputDecorationTheme(
      fillColor: Colors.red,
      filled: true,
    ),
    textStyle: textTheme.bodyMedium!.copyWith(color: colors.text),
    menuStyle: createMenuStyleForDropdown(colors, shapes),
  );
}