SimpleTextFormFieldDate constructor
const
SimpleTextFormFieldDate({
- Key? key,
- @required SimpleTextFormFieldDateController? controller,
- bool isRequired = false,
- String? label,
- bool editable = true,
- InputDatetimeType type = InputDatetimeType.date,
- String? placeHolder,
- double? marginBottom,
- FormFieldValidator<
String> ? validator, - dynamic onEditingComplete()?,
- String? prefixText,
- Radius? borderRadius,
- double fontsize = 12,
- dynamic onFieldSubmited()?,
- EdgeInsets edgeInsets = const EdgeInsets.all(0),
- bool visibility = true,
- Color? fillColor,
- InputDecoration? customInputDecoration,
- Color? hintColor,
- DateTime? firstDate,
- DateTime? lastDate,
- 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);