LedgerTextInput constructor
const
LedgerTextInput({
- required TextStyle style,
- required TextStyle placeholderStyle,
- TextEditingController? controller,
- String? placeholder,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - VoidCallback? onEditingComplete,
- FocusNode? focusNode,
- bool autofocus = false,
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- int maxLines = 1,
- Key? key,
A text input set in style.
Implementation
const LedgerTextInput({
required this.style,
required this.placeholderStyle,
this.controller,
this.placeholder,
this.onChanged,
this.onSubmitted,
this.onEditingComplete,
this.focusNode,
this.autofocus = false,
this.keyboardType,
this.textInputAction,
this.maxLines = 1,
super.key,
});