Option constructor

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

Implementation

const Option(
    {this.icon = Icons.gear_six_fill,
    required this.name,
    this.description,
    this.shouldShow = _defShouldShow});