DynamicFieldCell constructor

const DynamicFieldCell({
  1. required DynamicField field,
  2. required bool creationMode,
  3. int deepLevel = 0,
  4. ValueChanged<List<DynamicFieldItem>>? onChangeChildStructure,
  5. List<DynamicFieldItem> initialChildrenData = const [],
  6. Key? key,
})

Implementation

const DynamicFieldCell({
  required super.field,
  required super.creationMode,
  this.deepLevel = 0,
  this.onChangeChildStructure,
  this.initialChildrenData = const [],
  super.key,
}) : assert(deepLevel > 0 && onChangeChildStructure != null || deepLevel == 0);