MaterialXFormController constructor
MaterialXFormController({
- Key? key,
- bool isRequired = false,
- TextEditingController? controller,
- FormStatus status = FormStatus.nothing,
- Widget? suffix,
- Widget? prefix,
- bool onlySuccessParameter = true,
Implementation
MaterialXFormController({Key? key, this.isRequired = false, this.controller, this.status = FormStatus.nothing, this.suffix, this.prefix, this.onlySuccessParameter = true}) {
controller ??= TextEditingController();
focusNode ??= FocusNode();
}