Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 4e123d8

Browse files
committed
Increased flutter version dependency and readded safe call to overlay insert.
1 parent e002d3c commit 4e123d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/src/presentation/authenticator_widget.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class _AuthenticatorWidgetState extends State<AuthenticatorWidget> {
9696
),
9797
);
9898
if (!_isShowingSplashScreen) {
99-
Overlay.of(context).insert(overlayEntry!);
99+
Overlay.of(context)?.insert(overlayEntry!);
100100
}
101101
}
102102
}
@@ -105,7 +105,7 @@ class _AuthenticatorWidgetState extends State<AuthenticatorWidget> {
105105
setState(() {
106106
_isShowingSplashScreen = false;
107107
if (overlayEntry != null) {
108-
Overlay.of(context).insert(overlayEntry!);
108+
Overlay.of(context)?.insert(overlayEntry!);
109109
}
110110
});
111111
});

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repository: https://github.com/DutchCodingCompany/pin_lock
88

99
environment:
1010
sdk: ">=2.12.0 <3.0.0"
11-
flutter: ">=1.20.0"
11+
flutter: ">=3.0.0"
1212

1313
dependencies:
1414
flutter:

0 commit comments

Comments
 (0)