SimpleTextField constructor

const SimpleTextField({
  1. dynamic onChanged(
    1. String
    )?,
  2. FormFieldSetter<String>? onSaved,
  3. bool validator(
    1. String
    )?,
  4. TextEditingController? textEditingController,
  5. Iterable<String>? autofillHints,
  6. TextInputType? textInputType,
  7. bool autoFocus = false,
  8. bool obscureText = false,
  9. TextInputAction? textInputAction,
  10. FocusNode? focusNode,
  11. IconData? prefixIconData,
  12. String? hintText,
  13. String? labelText,
  14. String? errorText,
  15. String? helperText,
  16. bool showLabelAboveTextField = false,
  17. FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.auto,
  18. Color? fillColor,
  19. Color? accentColor,
  20. Color textColor = Colors.black,
  21. double borderRadius = 6,
  22. bool showConfirmation = true,
  23. bool showError = true,
  24. double verticalPadding = 20,
  25. double horizontalPadding = 12,
  26. Key? key,
})

Implementation

const SimpleTextField(
    {this.onChanged,
      this.onSaved,
      this.validator,
      this.textEditingController,
      this.autofillHints,
      this.textInputType,
      this.autoFocus = false,
      this.obscureText = false,
      this.textInputAction,
      this.focusNode,
      this.prefixIconData,
      this.hintText,
      this.labelText,
      this.errorText,
      this.helperText,
      this.showLabelAboveTextField = false,
      this.floatingLabelBehavior = FloatingLabelBehavior.auto,
      this.fillColor,
      this.accentColor,
      this.textColor = Colors.black,
      this.borderRadius = 6,
      this.showConfirmation = true,
      this.showError = true,
      this.verticalPadding = 20,
      this.horizontalPadding = 12,
      Key? key})
    : super(key: key);