SimpleTextField constructor

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

Implementation

const SimpleTextField(
    {this.onChanged,
      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.validator,
      this.showConfirmation = true,
      this.showError = true,
      this.verticalPadding = 20,
      this.horizontalPadding = 12,
      Key? key})
    : super(key: key);