GestuMenuPrimaryItem<T> constructor

const GestuMenuPrimaryItem<T>({
  1. Key? key,
  2. IconData? prefixIconData,
  3. required String title,
  4. TextStyle? titleStyle,
  5. required List<Widget> items,
  6. bool isSecondary = false,
  7. bool initialExpanded = false,
  8. BoxDecoration? decoration,
  9. TextStyle? itemTextStyle,
  10. Color? itemSelectedColor,
  11. Color? itemSelectedTextColor,
  12. BoxDecoration? itemDecoration,
  13. bool expandedIndicatorRight = false,
  14. ValueChanged<T>? onTap,
})

Constructor for GestuMenuPrimaryItem.

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,
});