TextBar constructor

TextBar({
  1. Color text_color = Colors.black,
  2. dynamic onChanged,
  3. bool autoCorrect = false,
  4. bool blindMode = false,
  5. String? speaker_language = 'en-IN',
  6. double volume = 0.5,
  7. double voice_pitch = 1.0,
  8. double rate = 0.5,
  9. Color speaker_highlight_color = Colors.red,
  10. bool voiceToTextMode = false,
  11. Icon voice_button_icon = const Icon(Icons.mic),
  12. Key? key,
  13. dynamic controller,
  14. dynamic focusNode,
  15. InputDecoration decoration = const InputDecoration(),
  16. TextInputType? keyboardType,
  17. dynamic textInputAction,
  18. TextCapitalization textCapitalization = TextCapitalization.none,
  19. dynamic style,
  20. dynamic strutStyle,
  21. TextAlign textAlign = TextAlign.start,
  22. dynamic textAlignVertical,
  23. dynamic textDirection,
  24. bool readOnly = false,
  25. ToolbarOptions? toolbarOptions,
  26. dynamic showCursor,
  27. bool autofocus = false,
  28. String obscuringCharacter = '•',
  29. bool obscureText = false,
  30. bool autocorrect = true,
  31. SmartDashesType? smartDashesType,
  32. SmartQuotesType? smartQuotesType,
  33. bool enableSuggestions = true,
  34. int maxLines = 1,
  35. dynamic minLines,
  36. bool expands = false,
  37. dynamic maxLength,
  38. dynamic maxLengthEnforcement,
  39. dynamic onEditingComplete,
  40. dynamic onSubmitted,
  41. dynamic onAppPrivateCommand,
  42. dynamic inputFormatters,
  43. dynamic enabled,
  44. double cursorWidth = 2.0,
  45. dynamic cursorHeight,
  46. dynamic cursorRadius,
  47. dynamic cursorColor,
  48. BoxHeightStyle selectionHeightStyle = ui.BoxHeightStyle.tight,
  49. BoxWidthStyle selectionWidthStyle = ui.BoxWidthStyle.tight,
  50. dynamic keyboardAppearance,
  51. EdgeInsets scrollPadding = const EdgeInsets.all(20.0),
  52. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  53. bool enableInteractiveSelection = true,
  54. dynamic onTap,
  55. dynamic mouseCursor,
  56. dynamic buildCounter,
  57. dynamic scrollController,
  58. dynamic scrollPhysics,
  59. dynamic autofillHints,
  60. dynamic specialTextSpanBuilder,
  61. dynamic selectionControls,
  62. dynamic restorationId,
})

Implementation

TextBar({this.text_color = Colors.black , this.onChanged ,this.autoCorrect = false ,
  this.blindMode = false , this.speaker_language = 'en-IN' , this.volume = 0.5 , this.voice_pitch = 1.0 , this.rate = 0.5 , this.speaker_highlight_color = Colors.red ,
  this.voiceToTextMode = false , this.voice_button_icon = const Icon(Icons.mic),
  Key? key,
  this.controller,
  this.focusNode,
  this.decoration = const InputDecoration(),
  TextInputType? keyboardType,
  this.textInputAction,
  this.textCapitalization = TextCapitalization.none,
  this.style,
  this.strutStyle,
  this.textAlign = TextAlign.start,
  this.textAlignVertical,
  this.textDirection,
  this.readOnly = false,
  ToolbarOptions? toolbarOptions,
  this.showCursor,
  this.autofocus = false,
  this.obscuringCharacter = '•',
  this.obscureText = false,
  this.autocorrect = true,
  SmartDashesType? smartDashesType,
  SmartQuotesType? smartQuotesType,
  this.enableSuggestions = true,
  this.maxLines = 1,
  this.minLines,
  this.expands = false,
  this.maxLength,
  this.maxLengthEnforcement,
  this.onEditingComplete,
  this.onSubmitted,
  this.onAppPrivateCommand,
  this.inputFormatters,
  this.enabled,
  this.cursorWidth = 2.0,
  this.cursorHeight,
  this.cursorRadius,
  this.cursorColor,
  this.selectionHeightStyle = ui.BoxHeightStyle.tight,
  this.selectionWidthStyle = ui.BoxWidthStyle.tight,
  this.keyboardAppearance,
  this.scrollPadding = const EdgeInsets.all(20.0),
  this.dragStartBehavior = DragStartBehavior.start,
  this.enableInteractiveSelection = true,
  this.onTap,
  this.mouseCursor,
  this.buildCounter,
  this.scrollController,
  this.scrollPhysics,
  this.autofillHints,
  this.specialTextSpanBuilder,
  this.selectionControls,
  this.restorationId,
});