SimpleTextFormFieldDate constructor

const SimpleTextFormFieldDate({
  1. Key? key,
  2. @required SimpleTextFormFieldDateController? controller,
  3. bool isRequired = false,
  4. String? label,
  5. bool editable = true,
  6. InputDatetimeType type = InputDatetimeType.date,
  7. String? placeHolder,
  8. double? marginBottom,
  9. FormFieldValidator<String>? validator,
  10. dynamic onEditingComplete()?,
  11. String? prefixText,
  12. Radius? borderRadius,
  13. double fontsize = 12,
  14. dynamic onFieldSubmited(
    1. String
    )?,
  15. EdgeInsets edgeInsets = const EdgeInsets.all(0),
  16. bool visibility = true,
  17. Color? fillColor,
  18. InputDecoration? customInputDecoration,
  19. Color? hintColor,
  20. DateTime? firstDate,
  21. DateTime? lastDate,
  22. double errorTextSize = 10,
})

Implementation

const SimpleTextFormFieldDate(
    {Key? key,
    @required this.controller,
    this.isRequired = false,
    this.label,
    this.editable = true,
    this.type = InputDatetimeType.date,
    this.placeHolder,
    this.marginBottom,
    this.validator,
    this.onEditingComplete,
    this.prefixText,
    this.borderRadius,
    this.fontsize = 12,
    this.onFieldSubmited,
    this.edgeInsets = const EdgeInsets.all(0),
    this.visibility = true,
    this.fillColor,
    this.customInputDecoration,
    this.hintColor,
      this.firstDate,
      this.lastDate,
    this.errorTextSize = 10})
    : super(key: key);