DropDownHeader constructor
DropDownHeader({
- Key? key,
- required List<
DropDownHeaderItem> items, - required DropdownMenuController controller,
- required GlobalKey<
State< stackKey,StatefulWidget> > - TextStyle style = const TextStyle(color: Color(0xFF666666), fontSize: 13),
- TextStyle dropDownStyle = const TextStyle(color: Color(0xFF333333), fontSize: 13),
- double height = 40,
- double borderWidth = 1,
- Color borderColor = const Color(0xFFeeede6),
- double dividerHeight = 20,
- Color dividerColor = const Color(0xFFeeede6),
- EdgeInsets padding = EdgeInsets.zero,
- OnItemTap? onItemTap,
- Color color = Colors.white,
Creates a dropdown header widget, Contains more than one header items.
Implementation
DropDownHeader({
Key? key,
required this.items,
required this.controller,
required this.stackKey,
this.style = const TextStyle(color: Color(0xFF666666), fontSize: 13),
this.dropDownStyle = const TextStyle(color: Color(0xFF333333), fontSize: 13),
this.height = 40,
this.borderWidth = 1,
this.borderColor = const Color(0xFFeeede6),
this.dividerHeight = 20,
this.dividerColor = const Color(0xFFeeede6),
this.padding = EdgeInsets.zero,
this.onItemTap,
this.color = Colors.white,
}) : super(key: key);