CCheckboxController constructor

CCheckboxController({
  1. bool? initialValue,
})

Constructs a CCheckboxController with an optional initial value.

Implementation

CCheckboxController({bool? initialValue})
    : _controller = BehaviorSubject<bool>.seeded(initialValue ?? false);