TogeInputTextFieldWidget constructor
const
TogeInputTextFieldWidget({
- required String contentLabel,
- required TextEditingController controller,
- TogeInputFieldState state = TogeInputFieldState.filled,
- TogeInputFieldType type = TogeInputFieldType.textField,
- TextCapitalization textCapitalization = TextCapitalization.none,
- double width = 336,
- double height = 48,
- IconData? prefixIcon,
- double? prefixIconSize,
- IconData? suffixIcon,
- double? suffixIconSize,
- Color iconColor = TogeTextColors.supportingLight,
- dynamic onChanged()?,
- String? suffixText,
- int? maxLines,
- Key? key,
Implementation
const TogeInputTextFieldWidget({
required this.contentLabel,
required this.controller,
this.state = TogeInputFieldState.filled,
this.type = TogeInputFieldType.textField,
this.textCapitalization = TextCapitalization.none,
this.width = 336,
this.height = 48,
this.prefixIcon,
this.prefixIconSize,
this.suffixIcon,
this.suffixIconSize,
this.iconColor = TogeTextColors.supportingLight,
this.onChanged,
this.suffixText,
this.maxLines,
super.key,
});