CarpenterInput constructor
const
CarpenterInput({
- Key? key,
- TextEditingController? controller,
- String? initialValue,
- FocusNode? focusNode,
- String? label,
- String? placeholder,
- Widget? prefix,
- Widget? suffix,
- String? errorText,
- bool enabled = true,
- ValueChanged<
String> ? onChanged, - TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - int? maxLines = 1,
- TextCapitalization textCapitalization = TextCapitalization.none,
- ValueChanged<
String> ? onSubmitted, - bool obscureText = false,
- String obscuringCharacter = '•',
Создает текстовое поле.
Implementation
const CarpenterInput({
super.key,
this.controller,
this.initialValue,
this.focusNode,
this.label,
this.placeholder,
this.prefix,
this.suffix,
this.errorText,
this.enabled = true,
this.onChanged,
this.keyboardType,
this.inputFormatters,
this.maxLines = 1,
this.textCapitalization = TextCapitalization.none,
this.onSubmitted,
this.obscureText = false,
this.obscuringCharacter = '•',
});