SmartField constructor
SmartField(- {Key key,
- TextInputType type: TextInputType.text,
- @required FocusNode focusNode,
- @required FocusNode nextFocus,
- TextInputAction action,
- @required String label,
- String hint,
- String errorMessage,
- bool mandatory: false,
- bool validate: false,
- int maxLength,
- VoidCallback callback,
- bool password: false,
- @required TextEditingController controller,
- bool readOnly: false}
)
Implementation
SmartField({
Key key,
this.type = TextInputType.text,
@required this.focusNode,
@required this.nextFocus,
this.action,
@required this.label,
this.hint,
this.errorMessage,
this.mandatory = false,
this.validate = false,
this.maxLength,
this.callback,
this.password = false,
@required this.controller,
this.readOnly = false,
}) : super(key: key);