Skip to content

Commit

Permalink
Using save access for children property.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Engel committed Sep 29, 2021
1 parent 4d3e428 commit 9870c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/span_builder_test/lib/src/span_builder_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ extension WidgetTesterRichEditExtension on WidgetTester {
final innerText = richText.text as TextSpan;
return predicate == null
? innerText.children
: innerText.children!.where(predicate);
: innerText.children?.where(predicate);
}
}

0 comments on commit 9870c3f

Please sign in to comment.