LedgerTextInput constructor

const LedgerTextInput({
  1. required TextStyle style,
  2. required TextStyle placeholderStyle,
  3. TextEditingController? controller,
  4. String? placeholder,
  5. ValueChanged<String>? onChanged,
  6. ValueChanged<String>? onSubmitted,
  7. VoidCallback? onEditingComplete,
  8. FocusNode? focusNode,
  9. bool autofocus = false,
  10. TextInputType? keyboardType,
  11. TextInputAction? textInputAction,
  12. int maxLines = 1,
  13. 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,
});