Skip to content

Commit 402dfce

Browse files
committed
🐛 push -> pushReplacement.
1 parent f847c6c commit 402dfce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/lib/pages/splash_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class _SplashPageState extends State<SplashPage> {
2525
Future<void>.delayed(
2626
2.seconds,
2727
() {
28-
Navigator.of(context).push(
28+
Navigator.of(context).pushReplacement(
2929
PageRouteBuilder<void>(
3030
pageBuilder: (
3131
BuildContext _,

0 commit comments

Comments
 (0)