DateTextFieldFastor constructor

DateTextFieldFastor({
  1. required double width,
  2. double? iconMarginRight,
  3. double? height,
  4. required DateTextFieldSelectCallback callback,
  5. double? fontSize,
  6. String? errorBackendKeyJson,
  7. Map<String, dynamic>? errorBackendJson,
  8. Color? colorError,
  9. Color? colorText,
  10. Color? colorBackground,
  11. String? hintText,
  12. Color? hintColor,
  13. String? previousSelectedText,
  14. double? boarderRadius,
  15. Color? boarderColor,
  16. Decoration? decoration,
  17. Icon? iconCustom,
  18. double? iconSize,
  19. Color? iconColor,
  20. EdgeInsets? paddingContent,
})

Implementation

DateTextFieldFastor({

  //size
  required this.width,
  this.iconMarginRight,
  this.height,

  required this.callback,

  //font
  this.fontSize,

  //error
  this.errorBackendKeyJson,
  this.errorBackendJson,
  this.colorError,

  //colors
  this.colorText,
  this.colorBackground,

  //hint
  this.hintText,
  this.hintColor,

  //previous
  this.previousSelectedText,

  //boarder
  this.boarderRadius,
  this.boarderColor,

  //decoration
  this.decoration,

  //icon
  this.iconCustom,
  this.iconSize,
  this.iconColor,

  //space
  this.paddingContent

}) {
  _setDefaultValues();
  _setValidatorFromBackend();
}