ActionOption constructor

const ActionOption({
  1. required String name,
  2. required void action(),
  3. String? description,
  4. IconData icon = Icons.gear_six_fill,
  5. bool shouldShow(
    1. BuildContext context
    ) = _defShouldShow,
})

Implementation

const ActionOption({
  required super.name,
  required this.action,
  super.description,
  super.icon,
  super.shouldShow = _defShouldShow,
});