SmartTextFormField constructor
const
SmartTextFormField({
- Key? key,
- required TextEditingController controller,
- required FocusNode focusNode,
- InputDecoration? decoration,
- FormFieldValidator<
String> ? validator, - bool obscureText = false,
- TextInputAction action = TextInputAction.done,
- dynamic completeAction()?,
- TextInputType? keyboardType,
- int? maxLines = 1,
- bool forceError = false,
- List<
String> autoFillHints = const [], - bool displayObscureTextToggle = false,
- TextStyle? style,
Implementation
const SmartTextFormField({
Key? key,
required this.controller,
required this.focusNode,
this.decoration,
this.validator,
this.obscureText = false,
this.action = TextInputAction.done,
this.completeAction,
this.keyboardType,
this.maxLines = 1,
this.forceError = false,
this.autoFillHints = const [],
this.displayObscureTextToggle = false,
this.style,
}) : super(key: key);