GZXDropDownHeader constructor
GZXDropDownHeader({
- Key? key,
- required List<
GZXDropDownHeaderItem> items, - required GZXDropdownMenuController controller,
- required GlobalKey<
State< stackKey,StatefulWidget> > - bool headerOnLeftWhenJustOne = false,
- TextStyle style = const TextStyle(color: Color(0xFF666666), fontSize: 13),
- TextStyle? dropDownStyle,
- double height = 40,
- Color iconColor = const Color(0xFFafada7),
- Color? iconDropDownColor,
- double iconSize = 20,
- double borderWidth = 1,
- Color borderColor = const Color(0xFFeeede6),
- double dividerHeight = 20,
- Color dividerColor = const Color(0xFFeeede6),
- OnItemTap? onItemTap,
- Color color = Colors.white,
Creates a dropdown header widget, Contains more than one header items.
Implementation
GZXDropDownHeader({
Key? key,
required this.items,
required this.controller,
required this.stackKey,
this.headerOnLeftWhenJustOne = false,
this.style = const TextStyle(color: Color(0xFF666666), fontSize: 13),
this.dropDownStyle,
this.height = 40,
this.iconColor = const Color(0xFFafada7),
this.iconDropDownColor,
this.iconSize = 20,
this.borderWidth = 1,
this.borderColor = const Color(0xFFeeede6),
this.dividerHeight = 20,
this.dividerColor = const Color(0xFFeeede6),
this.onItemTap,
this.color = Colors.white,
}) : super(key: key);