We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9da610 commit fc72542Copy full SHA for fc72542
lib/presentation/language_tool_text_field.dart
@@ -42,6 +42,8 @@ class LanguageToolTextField extends StatefulWidget {
42
this.maxLines = 1,
43
this.minLines,
44
this.expands = false,
45
+ this.textAlign = TextAlign.right,
46
+ this.textDirection = TextDirection.rtl,
47
super.key,
48
});
49
@@ -92,8 +94,8 @@ class _LanguageToolTextFieldState extends State<LanguageToolTextField> {
92
94
padding: const EdgeInsets.all(_padding),
93
95
child: Center(
96
child: TextField(
- textAlign: TextAlign.right,
- textDirection: TextDirection.rtl,
97
+ textAlign: widget.textAlign,
98
+ textDirection: widget.textDirection,
99
focusNode: _focusNode,
100
controller: widget.controller,
101
scrollController: _scrollController,
0 commit comments