ListOfKnobsKnob constructor

ListOfKnobsKnob({
  1. required int count,
  2. required ConfigKnob generateKnob(
    1. int index
    ),
  3. String name = 'List',
})

Creates a new collection of count knobs, each initially generated by generateKnob, and named name.

Implementation

ListOfKnobsKnob(
    {required int count, required this.generateKnob, this.name = 'List'})
    : super(value: count);