GrockPopupMenuItem constructor
GrockPopupMenuItem({
- required String title,
- Widget? child,
- String? subtitle,
- Widget? trailing,
- TextStyle? titleTextStyle,
- TextStyle? subtitleTextStyle,
- double height = 40,
- EdgeInsetsGeometry? padding = const EdgeInsets.symmetric(horizontal: 12),
- EdgeInsetsGeometry? margin = EdgeInsets.zero,
- dynamic onTap(
- int index
Implementation
GrockPopupMenuItem({
required this.title,
this.child,
this.subtitle,
this.trailing,
this.titleTextStyle,
this.subtitleTextStyle,
this.height = 40,
this.padding = const EdgeInsets.symmetric(horizontal: 12),
this.margin = EdgeInsets.zero,
this.onTap,
});