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 dc97719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/presentation/language_tool_text_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,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 dc97719

Please sign in to comment.