TogeInputTextFieldWidget constructor

const TogeInputTextFieldWidget({
  1. required String contentLabel,
  2. required TextEditingController controller,
  3. TogeInputFieldState state = TogeInputFieldState.filled,
  4. TogeInputFieldType type = TogeInputFieldType.textField,
  5. TextCapitalization textCapitalization = TextCapitalization.none,
  6. double width = 336,
  7. double height = 48,
  8. IconData? prefixIcon,
  9. double? prefixIconSize,
  10. IconData? suffixIcon,
  11. double? suffixIconSize,
  12. Color iconColor = TogeTextColors.supportingLight,
  13. dynamic onChanged(
    1. String
    )?,
  14. String? suffixText,
  15. int? maxLines,
  16. 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,
});