DropdownMenus<K, V> constructor

const DropdownMenus<K, V>({
  1. Key? key,
  2. required List<DropdownMenusKeyItem<K, V>> menus,
  3. Color backgroundColor = const Color(0x80000000),
  4. double? width,
  5. bool isModal = false,
  6. Decoration? decoration,
  7. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceAround,
  8. EdgeInsetsGeometry? margin,
  9. EdgeInsetsGeometry? padding,
  10. DropdownMenusChanged<K, V>? onChanged,
})

Implementation

const DropdownMenus(
    {super.key,
    required this.menus,
    this.backgroundColor = const Color(0x80000000),
    this.width,
    this.isModal = false,
    this.decoration,
    this.mainAxisAlignment = MainAxisAlignment.spaceAround,
    this.margin,
    this.padding,
    this.onChanged});