childBuild method

  1. @override
Widget childBuild()
override

Implementation

@override
Widget childBuild() {
  return AFieldMasked(
    key: __textField,
    label: widget.label! + (widget.required ? " *":""),
    initialValue: __textValue,
    identifier: '${widget.identifier}_text',
    readOnly: widget.readOnly,
    denySpaces: true,
    keyboardType: TextInputType.number,
    mask: '##/##/####',
    hintText: '00/00/0000',
    onChanged: onTextChanged,
    onUnfocus: validate,
    bottom: errorText(),
    suffix: calendarButton(),
    onSubmit: widget.onSubmit,
    linkToAForm: false,
  );
}