MenuList constructor
const
MenuList({
- Key? key,
- required List<
FilterBean> filterList, - dynamic onTap(
- int index
- required int index,
- Choose choose = Choose.single,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- int crossAxisCount = 1,
- Color bgColor = const Color(0x0DAB4BF4),
- Color unBgColor = Colors.white,
- Color outLineColor = const Color(0xffab4bf4),
- Color unOutLineColor = const Color(0xffacacac),
- double radius = 4,
- Color fontColor = const Color(0xffab4bf4),
- Color unFontColor = const Color(0xffacacac),
- double fontSize = 12,
- double? mainAxisExtent = 50,
Implementation
const MenuList({
Key? key,
required this.filterList,
this.onTap,
required this.menuController,
required this.index,
this.choose = Choose.single,
this.margin,
this.padding,
this.crossAxisCount = 1,
this.bgColor = const Color(0x0DAB4BF4),
this.unBgColor = Colors.white,
this.outLineColor = const Color(0xffab4bf4),
this.unOutLineColor = const Color(0xffacacac),
this.radius = 4,
this.fontColor = const Color(0xffab4bf4),
this.unFontColor = const Color(0xffacacac),
this.fontSize = 12,
this.mainAxisExtent = 50,
}) : super(key: key);