Skip to content

Commit

Permalink
🚨 Ignore false positive analyzer warning
Browse files Browse the repository at this point in the history
  • Loading branch information
schaerfo committed Oct 24, 2023
1 parent 0ec2d4b commit c151e7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/screens/journeybuilder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ class _AddLegTile extends StatelessWidget {
],
),
);
// Querying context.mounted after an async gap is recommended practice:
// https://api.flutter.dev/flutter/widgets/BuildContext/mounted.html
// ignore: use_build_context_synchronously
if (!context.mounted) {
return;
}
Expand Down

0 comments on commit c151e7a

Please sign in to comment.