IconMenuButton constructor

IconMenuButton({
  1. required IconData icon,
  2. required String text,
  3. bool extended = false,
  4. bool enabled = true,
  5. void onPressed()?,
  6. Color? color,
  7. List<IconMenuItem> subMenu = const [],
})

Implementation

IconMenuButton({
  required this.icon,
  required this.text,
  this.extended = false,
  this.enabled = true,
  this.onPressed,
  super.color,
  this.subMenu = const [],
});