File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ class LanguageToolTextField extends StatefulWidget {
1818 /// Mistake popup window
1919 final MistakePopup ? mistakePopup;
2020
21- /// Padding for the text field
22- final EdgeInsetsGeometry ? padding;
23-
2421 /// The maximum number of lines to show at one time, wrapping if necessary.
2522 final int ? maxLines;
2623
@@ -64,7 +61,6 @@ class LanguageToolTextField extends StatefulWidget {
6461 this .decoration = const InputDecoration (),
6562 this .language = 'auto' ,
6663 this .mistakePopup,
67- this .padding = const EdgeInsets .all (24 ),
6864 this .maxLines = 1 ,
6965 this .minLines,
7066 this .expands = false ,
@@ -158,13 +154,6 @@ class _LanguageToolTextFieldState extends State<LanguageToolTextField> {
158154 childWidget = Center (child: childWidget);
159155 }
160156
161- if (widget.padding != null ) {
162- childWidget = Padding (
163- padding: widget.padding ?? EdgeInsets .zero,
164- child: childWidget,
165- );
166- }
167-
168157 return childWidget;
169158 },
170159 );
You can’t perform that action at this time.
0 commit comments