ImosysTextField constructor
const
ImosysTextField({
- Key? key,
- required String hint,
- required TextEditingController controller,
- String? label,
- List<
String> ? items, - double? dropdownWidth,
- Color? dropdownColor,
- VoidCallback? toggleObscure,
- bool? dontShowText,
- TextCapitalization? textCapitalization,
- dynamic onChange()?,
- bool? autoCorrect,
- String? prefixText,
- Color? cursorColor,
- TextInputType? inputType,
- int? maxLength,
- int? maxLines,
- int? minLines,
- Widget? prefixIcon,
- Widget? suffixIcon,
- double? fontSize,
- double? hintFontSize,
- String? hintFontFamily,
- FontWeight? hintFontWeight,
- TextInputAction? textInputAction,
- VoidCallback? onTap,
- double? width,
- Color? fontColor,
- String? fontFamily,
- FontWeight? fontWeight,
- Color? hintFontColor,
- Color? borderColor,
- bool hasBorder = false,
- double? borderRadius,
- Color? errorBorderColor,
- Color? focusedBorderColor,
- bool hasFill = false,
- String? validator()?,
- Color? fillColor,
- dynamic onSubmitted()?,
Implementation
const ImosysTextField(
{super.key,
required this.hint,
required this.controller,
this.label,
this.items,
this.dropdownWidth,
this.dropdownColor,
this.toggleObscure,
this.dontShowText,
this.textCapitalization,
this.onChange,
this.autoCorrect,
this.prefixText,
this.cursorColor,
this.inputType,
this.maxLength,
this.maxLines,
this.minLines,
this.prefixIcon,
this.suffixIcon,
this.fontSize,
this.hintFontSize,
this.hintFontFamily,
this.hintFontWeight,
this.textInputAction,
this.onTap,
this.width,
this.fontColor,
this.fontFamily,
this.fontWeight,
this.hintFontColor,
this.borderColor,
this.hasBorder = false,
this.borderRadius,
this.errorBorderColor,
this.focusedBorderColor,
this.hasFill = false,
this.validator,
this.fillColor,
this.onSubmitted,
});