We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 75b746e + 7c60c2d commit b1dcf96Copy full SHA for b1dcf96
1 file changed
lib/src/widget/helper/toast_helper.dart
@@ -84,6 +84,10 @@ class _ToastHelperState extends State<ToastHelper> with WidgetsBindingObserver {
84
}
85
86
bool _updateSelfInfo() {
87
+ if (selfOffset != null) {
88
+ return true;
89
+ }
90
+
91
final childContext = _childContext;
92
if (!(childContext?.mounted ?? false)) {
93
selfOffset = null;
0 commit comments