GestuMenuPrimaryItem<T> constructor
const
GestuMenuPrimaryItem<T> ({
- Key? key,
- IconData? prefixIconData,
- required String title,
- TextStyle? titleStyle,
- required List<
Widget> items, - bool isSecondary = false,
- bool initialExpanded = false,
- BoxDecoration? decoration,
- TextStyle? itemTextStyle,
- Color? itemSelectedColor,
- Color? itemSelectedTextColor,
- BoxDecoration? itemDecoration,
- bool expandedIndicatorRight = false,
- ValueChanged<
T> ? onTap,
Implementation
const GestuMenuPrimaryItem({
super.key,
this.prefixIconData,
required this.title,
this.titleStyle,
required this.items,
this.isSecondary = false,
this.initialExpanded = false,
this.decoration,
this.itemTextStyle,
this.itemSelectedColor,
this.itemSelectedTextColor,
this.itemDecoration,
this.expandedIndicatorRight = false,
this.onTap,
});