Skip to content

Commit

Permalink
Disable avoid_non_null_assertion WARNING
Browse files Browse the repository at this point in the history
  • Loading branch information
dab246 committed Jul 25, 2024
1 parent 4ebe87c commit 68a71c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/presentation/language_tool_text_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ class _LanguageToolTextFieldState extends State<LanguageToolTextField> {
suffix: fetchError != null ? httpErrorText : null,
);
Widget childWidget = TextField(
textAlign: widget.textAlign,
textDirection: widget.textDirection,
Expand Down Expand Up @@ -164,7 +163,7 @@ class _LanguageToolTextFieldState extends State<LanguageToolTextField> {
if (widget.padding != null) {
childWidget = Padding(
padding: widget.padding!,
padding: widget.padding ?? EdgeInsets.zero,
child: childWidget,
);
}
Expand Down

0 comments on commit 68a71c8

Please sign in to comment.