ComTextField constructor

const ComTextField({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? hintText,
  4. TextInputType? keyboardType,
  5. bool? obscureText = false,
  6. int? maxLines = 1,
  7. int? minLines = 1,
  8. ValueChanged<String>? onChanged,
  9. dynamic onEditingComplete()?,
  10. Widget? prefix,
  11. Widget? suffix,
  12. bool readOnly = false,
  13. double? radius,
  14. VoidCallback? onTap,
  15. Color? color,
  16. EdgeInsets? padding,
  17. FocusNode? focusNode,
  18. bool? autoFocus = false,
  19. bool? expands = false,
})

Implementation

const ComTextField({
  super.key,
  this.controller,
  this.hintText,
  this.keyboardType,
  this.obscureText = false,
  this.maxLines = 1,
  this.minLines = 1,
  this.onChanged,
  this.onEditingComplete,
  this.prefix,
  this.suffix,
  this.readOnly = false,
  this.radius,
  this.onTap,
  this.color,
  this.padding,
  this.focusNode,
  this.autoFocus = false,
  this.expands = false,
});