boolean abstract method

bool boolean({
  1. required String label,
  2. bool initial = false,
})

Creates checkbox with label and initial value.

Implementation

bool boolean({required String label, bool initial = false});