Input constructor

const Input({
  1. Key? key,
  2. Widget? addonAfter,
  3. Widget? addonBefore,
  4. bool allowClear = false,
  5. bool bordered = true,
  6. bool disabled = false,
  7. int? maxLength,
  8. void onChange()?,
  9. void onPressEnter()?,
  10. bool showCount = false,
  11. Status? status,
  12. String? placeholder,
  13. Widget? prefix,
  14. Size size = Size.medium,
  15. Widget? suffix,
  16. InputType type = InputType.text,
  17. String? value,
})

Implementation

const Input({
  Key? key,
  this.addonAfter,
  this.addonBefore,
  this.allowClear = false,
  this.bordered = true,
  this.disabled = false,
  this.maxLength,
  this.onChange,
  this.onPressEnter,
  this.showCount = false,
  this.status,
  this.placeholder,
  this.prefix,
  this.size = Size.medium,
  this.suffix,
  this.type = InputType.text,
  this.value,
}) : super(key: key);