BaseTextField constructor

const BaseTextField({
  1. Key? key,
  2. EdgeInsetsGeometry? margin,
  3. EdgeInsetsGeometry? padding,
  4. double? height,
  5. double? borderRadius,
  6. Color? backgroundColor,
  7. int maxLines = 1,
  8. TextStyle? style,
  9. TextStyle? placeholderStyle,
  10. TextEditingController? controller,
  11. bool obscureText = false,
  12. bool readOnly = false,
  13. int? maxLength,
  14. String? placeholder,
  15. FocusNode? focusNode,
  16. TextInputType? keyboardType,
  17. TextAlign textAlign = TextAlign.start,
  18. TextInputAction? textInputAction,
  19. OverlayVisibilityMode clearButtonMode = OverlayVisibilityMode.editing,
  20. List<TextInputFormatter>? inputFormatters,
  21. Widget? prefix,
  22. Widget? suffix,
  23. BoxDecoration? decoration,
  24. ValueChanged<String>? onChanged,
  25. ValueChanged<String>? onSubmitted,
  26. GestureTapCallback? onTap,
})

Implementation

const BaseTextField(
    {Key? key,
    this.margin,
    this.padding,
    this.height,
    this.borderRadius,
    this.backgroundColor,
    this.maxLines = 1,
    this.style,
    this.placeholderStyle,
    this.controller,
    this.obscureText = false,
    this.readOnly = false,
    this.maxLength,
    this.placeholder,
    this.focusNode,
    this.keyboardType,
    this.textAlign = TextAlign.start,
    this.textInputAction,
    this.clearButtonMode = OverlayVisibilityMode.editing,
    this.inputFormatters,
    this.prefix,
    this.suffix,
    this.decoration,
    this.onChanged,
    this.onSubmitted,
    this.onTap})
    : super(key: key);