ListInput<T, S, U, M, C extends InputConfig<S, U> , I extends Input<T, S, U, C> >.init constructor
ListInput<T, S, U, M, C extends InputConfig<S, U> , I extends Input<T, S, U, C> >.init (
- ListConfig<
T, S, U, C, I> config
Implementation
factory ListInput.init(ListConfig<T, S, U, C, I> config) {
return ListInput(
config: config,
status: ValueNotifier(const InputStatus()),
list: ValueNotifier([
for (int i = 0; i < config.min; i++)
Input.init(config.itemConfig),
]),
);
}