boolean abstract method

bool? boolean({
  1. required String label,
  2. String? description,
  3. bool initial = false,
  4. bool enabled = true,
})

Creates checkbox with label, description and initial value.

Implementation

bool? boolean({
  required String label,
  String? description,
  bool initial = false,
  bool enabled = true,
});