fix a rare crash around blurring in newer versions of flutter - bit of a workaround

This commit is contained in:
stopflock
2026-09-04 19:37:37 -05:00
parent 00b9348b8f
commit cbdefa82fb
3 changed files with 156 additions and 75 deletions
+6 -3
View File
@@ -627,10 +627,13 @@ class _EditNodeSheetState extends State<EditNodeSheet> {
],
),
// Tutorial overlay - show only if tutorial should be shown and we're done checking
if (!_isCheckingTutorial && _showTutorial)
// Tutorial overlay - always mounted once the initial check
// completes (never conditionally inserted/removed - see
// PositioningTutorialOverlay's class doc for why), fades via
// its own `visible` flag instead.
if (!_isCheckingTutorial)
Positioned.fill(
child: PositioningTutorialOverlay(),
child: PositioningTutorialOverlay(visible: _showTutorial),
),
],
);