ChipInputController<T> constructor
ChipInputController<T> ([
- List<
T> value = const []
Creates a ChipInputController with an optional initial list of chips.
The value
parameter provides the initial chip list. When not specified,
starts with an empty list. The controller notifies listeners when the
chip list changes through any method calls or direct value assignment.
Example:
final controller = ChipInputController<String>(['apple', 'banana']);
Implementation
ChipInputController([super.value = const []]);