PhoenixTextField constructor
const
PhoenixTextField({
- Key? key,
- required TextEditingController textEditingController,
- bool isError = false,
- required String label,
- String? errorMessage,
- VoidCallback? validator,
- Widget? suffixIcon,
- bool? obscureText,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - bool? enabled,
- TextInputAction? textInputAction,
- VoidCallback? onTap,
- List<
String> ? autoFillHints, - String? description,
- TextStyle? textStyle,
- TextStyle? disableTextStyle,
- bool noErrorSpace = false,
- FocusNode? focusNode,
- Color? backgroundColor,
- String? hintText,
Implementation
const PhoenixTextField({
Key? key,
required this.textEditingController,
this.isError = false,
required this.label,
this.errorMessage,
this.validator,
this.suffixIcon,
this.obscureText,
this.keyboardType,
this.inputFormatters,
this.enabled,
this.textInputAction,
this.onTap,
this.autoFillHints,
this.description,
this.textStyle,
this.disableTextStyle,
this.noErrorSpace = false,
this.focusNode,
this.backgroundColor,
this.hintText,
}) : super(key: key);