FSelectManagedControl<T> constructor
const
FSelectManagedControl<T> ({
- FSelectController<
T> ? controller, - T? initial,
- bool? toggleable,
- ValueChanged<
T?> ? onChange,
Creates a FSelectControl.
Implementation
const FSelectManagedControl({this.controller, this.initial, this.toggleable, this.onChange})
: assert(
controller == null || initial == null,
'Cannot provide both controller and initial. Pass initial value to the controller.',
),
assert(
controller == null || toggleable == null,
'Cannot provide both controller and toggleable. Pass toggleable to the controller.',
),
super._();