InputWidget constructor

const InputWidget({
  1. Key? key,
  2. String? label,
  3. Color? labelColor,
  4. InputWidgetType? type = InputWidgetType.text,
  5. double? width,
  6. TextEditingController? controller,
  7. void onChanged(
    1. String
    )?,
  8. String? hintText,
  9. Widget? prefixIcon,
  10. Widget? suffixIcon,
  11. List<TextInputFormatter>? inputFormatters,
  12. Color? fillColor,
  13. bool obscureText = false,
  14. String? initialValue,
  15. bool? noRadius,
  16. void onFocusChange(
    1. bool
    )?,
  17. void onFieldSubmitted(
    1. String
    )?,
  18. bool readOnly = false,
  19. FocusNode? focusNode,
})

Implementation

const InputWidget({
  Key? key,
  this.label,
  this.labelColor,
  this.type = InputWidgetType.text,
  this.width,
  this.controller,
  this.onChanged,
  this.hintText,
  this.prefixIcon,
  this.suffixIcon,
  this.inputFormatters,
  this.fillColor,
  this.obscureText = false,
  this.initialValue,
  this.noRadius,
  this.onFocusChange,
  this.onFieldSubmitted,
  this.readOnly = false,
  this.focusNode,
}) : super(key: key);