Field<T> constructor

const Field<T>({
  1. required String name,
  2. required FieldType type,
  3. required T? initialValue,
  4. required FieldCodec<T> codec,
  5. @Deprecated('Fields should not be aware of their context') void onChanged(
    1. BuildContext context,
    2. T? value
    )?,
})

Implementation

const Field({
  required this.name,
  required this.type,
  required this.initialValue,
  required this.codec,
  @Deprecated('Fields should not be aware of their context') this.onChanged,
});