CCheckboxController constructor
CCheckboxController({
- bool? initialValue,
Constructs a CCheckboxController with an optional initial value.
Implementation
CCheckboxController({bool? initialValue})
: _controller = BehaviorSubject<bool>.seeded(initialValue ?? false);