PhoenixTextField constructor

const PhoenixTextField({
  1. Key? key,
  2. required TextEditingController textEditingController,
  3. bool isError = false,
  4. required String label,
  5. String? errorMessage,
  6. VoidCallback? validator,
  7. Widget? suffixIcon,
  8. bool? obscureText,
  9. TextInputType? keyboardType,
  10. List<TextInputFormatter>? inputFormatters,
  11. bool? enabled,
  12. TextInputAction? textInputAction,
  13. VoidCallback? onTap,
  14. List<String>? autoFillHints,
  15. String? description,
  16. TextStyle? textStyle,
  17. TextStyle? disableTextStyle,
  18. bool noErrorSpace = false,
  19. FocusNode? focusNode,
  20. Color? backgroundColor,
  21. 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);