TextBar class

Inheritance

Constructors

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

Properties

autoCorrect bool
getter/setter pair
autocorrect bool
getter/setter pair
autofillHints ↔ dynamic
getter/setter pair
autofocus bool
getter/setter pair
blindMode bool
final
buildCounter ↔ dynamic
getter/setter pair
controller ↔ dynamic
getter/setter pair
cursorColor ↔ dynamic
getter/setter pair
cursorHeight ↔ dynamic
getter/setter pair
cursorRadius ↔ dynamic
getter/setter pair
cursorWidth double
getter/setter pair
decoration InputDecoration
getter/setter pair
dragStartBehavior DragStartBehavior
getter/setter pair
enabled ↔ dynamic
getter/setter pair
enableInteractiveSelection bool
getter/setter pair
enableSuggestions bool
getter/setter pair
expands bool
getter/setter pair
focusNode ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputFormatters ↔ dynamic
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
getter/setter pairoverride-getter
keyboardAppearance ↔ dynamic
getter/setter pair
keyboardType TextInputType?
getter/setter pair
maxLength ↔ dynamic
getter/setter pair
maxLengthEnforcement ↔ dynamic
getter/setter pair
maxLines int
getter/setter pair
minLines ↔ dynamic
getter/setter pair
mouseCursor ↔ dynamic
getter/setter pair
obscureText bool
getter/setter pair
obscuringCharacter String
getter/setter pair
onAppPrivateCommand ↔ dynamic
getter/setter pair
onChanged ↔ dynamic
getter/setter pair
onEditingComplete ↔ dynamic
getter/setter pair
onSubmitted ↔ dynamic
getter/setter pair
onTap ↔ dynamic
getter/setter pair
rate double
final
readOnly bool
getter/setter pair
restorationId ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ↔ dynamic
getter/setter pair
scrollPadding EdgeInsets
getter/setter pair
scrollPhysics ↔ dynamic
getter/setter pair
selectionControls ↔ dynamic
getter/setter pair
selectionHeightStyle BoxHeightStyle
getter/setter pair
selectionWidthStyle BoxWidthStyle
getter/setter pair
showCursor ↔ dynamic
getter/setter pair
smartDashesType SmartDashesType?
getter/setter pair
smartQuotesType SmartQuotesType?
getter/setter pair
speaker_highlight_color Color
final
speaker_language String?
getter/setter pair
specialTextSpanBuilder ↔ dynamic
getter/setter pair
strutStyle ↔ dynamic
getter/setter pair
style ↔ dynamic
getter/setter pair
text_color Color
getter/setter pair
textAlign TextAlign
getter/setter pair
textAlignVertical ↔ dynamic
getter/setter pair
textCapitalization TextCapitalization
getter/setter pair
textDirection ↔ dynamic
getter/setter pair
textInputAction ↔ dynamic
getter/setter pair
toolbarOptions ToolbarOptions?
getter/setter pair
voice_button_icon Icon
final
voice_pitch double
final
voiceToTextMode bool
final
volume double
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _TextBarState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited