NiceFormField<T> constructor

const NiceFormField<T>({
  1. Key? key,
  2. required String name,
  3. required Widget builder(
    1. FormFieldState<T> state
    ),
  4. String? validator(
    1. T? value
    )?,
  5. T? initialValue,
})

Implementation

const NiceFormField({
  super.key,
  required this.name,
  required this.builder,
  this.validator,
  this.initialValue,
});