Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit da1486b

Browse files
TedSandernshahan
authored andcommitted
Add null pointer handler for popup_source_directive.
PiperOrigin-RevId: 197820164
1 parent 15ba7b9 commit da1486b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/laminate/popup/popup_source_directive.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class PopupSourceDirective
7979

8080
@override
8181
Stream<Rectangle<num>> onDimensionsChanged({bool track: false}) {
82-
return _popupSource.onDimensionsChanged(track: track).distinct();
82+
return _popupSource?.onDimensionsChanged(track: track)?.distinct();
8383
}
8484

8585
@override

0 commit comments

Comments
 (0)