Input constructor
const
Input({
- Key? key,
- Widget? addonAfter,
- Widget? addonBefore,
- bool allowClear = false,
- bool bordered = true,
- bool disabled = false,
- int? maxLength,
- void onChange()?,
- void onPressEnter()?,
- bool showCount = false,
- Status? status,
- String? placeholder,
- Widget? prefix,
- Size size = Size.medium,
- Widget? suffix,
- InputType type = InputType.text,
- 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);