Field constructor

const Field({
  1. dynamic name,
  2. String type = "text",
  3. dynamic validators = const [],
  4. dynamic decoration = const {},
  5. dynamic hint = '',
  6. dynamic bloc = '',
  7. dynamic maxImages = 1,
  8. dynamic aspectRatio,
  9. double max = 0,
  10. double min = 0,
  11. String? template,
  12. String? searchField,
  13. dynamic label,
})

Implementation

const Field(
    {this.name,
    this.type = "text",
    this.validators = const [],
    this.decoration = const {},
    this.hint = '',
    this.bloc = '',
    this.maxImages = 1,
    this.aspectRatio,
    this.max = 0,
    this.min = 0,
    this.template,
    this.searchField,
    this.label});