Field<T> constructor
const
Field<T> ({
- required String name,
- required FieldType type,
- required T? initialValue,
- required FieldCodec<
T> codec, - @Deprecated('Fields should not be aware of their context') void onChanged(
- BuildContext context,
- 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,
});