FitMenuItem constructor

const FitMenuItem({
  1. String? id,
  2. required IconData icon,
  3. required String title,
  4. required dynamic onTap(
    1. BuildContext context,
    2. Object? item
    ),
  5. bool show(
    1. BuildContext context,
    2. Object? item
    ) = _accept,
  6. bool disable(
    1. BuildContext context,
    2. Object? item
    ) = _refuse,
})

Creates a new FitMenuItem.

Implementation

const FitMenuItem({
  this.id,
  required this.icon,
  required this.title,
  required this.onTap,
  this.show = _accept,
  this.disable = _refuse,
});