BoolOption constructor

BoolOption({
  1. required String name,
  2. bool defaultValue = false,
  3. String? description,
  4. IconData icon = Icons.gear_six_fill,
  5. required bool? reader(),
  6. required void writer(
    1. bool? t
    ),
  7. bool shouldShow(
    1. BuildContext context
    ) = _defShouldShow,
})

Implementation

BoolOption({
  required super.name,
  super.defaultValue = false,
  super.description,
  super.icon,
  required super.reader,
  required super.writer,
  super.shouldShow = _defShouldShow,
});