DropdownHeader constructor
const
DropdownHeader({
- Key? key,
- required List titles,
- int? activeIndex,
- DropdownMenuController? controller,
- DropdownMenuHeadTapCallback? onTap,
- bool selectIsChangingColor = false,
- Color? selectColor,
- Color? unselectedColor,
- List<
int> specialModules = const [], - double height = 46.0,
- bool isSideline = true,
- String? dropDownSelectImage,
- String? dropDownImage,
- GetCustomizeImage? imageWidget,
- GetItemLabel? getItemLabel,
Implementation
const DropdownHeader({
Key? key,
required this.titles,
this.activeIndex,
DropdownMenuController? controller,
this.onTap,
this.selectIsChangingColor = false,
this.selectColor,
this.unselectedColor,
this.specialModules = const [],
this.height: 46.0,
this.isSideline = true,
this.dropDownSelectImage,
this.dropDownImage,
this.imageWidget,
GetItemLabel? getItemLabel,
}) : getItemLabel = getItemLabel ?? defaultGetItemLabel,
assert(titles.length > 0),
super(key: key, controller: controller);