SmartTextFormField constructor

const SmartTextFormField({
  1. Key? key,
  2. required TextEditingController controller,
  3. required FocusNode focusNode,
  4. InputDecoration? decoration,
  5. FormFieldValidator<String>? validator,
  6. bool obscureText = false,
  7. TextInputAction action = TextInputAction.done,
  8. dynamic completeAction()?,
  9. TextInputType? keyboardType,
  10. int? maxLines = 1,
  11. bool forceError = false,
  12. List<String> autoFillHints = const [],
  13. bool displayObscureTextToggle = false,
  14. 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);