CheckBoxBuilder typedef

CheckBoxBuilder = Widget Function(bool checked)

define a function to return a checkbox widget

Implementation

typedef CheckBoxBuilder = Widget Function(bool checked);