Skip to content

Commit

Permalink
all screens refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
Ammar-Raneez committed Apr 23, 2021
1 parent a3e99c8 commit 03636e1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ui/lib/screens/welcome_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ class _WelcomeScreenState extends State<WelcomeScreen>
// Go to Login Screen after a given time duration
Future.delayed(const Duration(milliseconds: 3500), () {
Navigator.push(
context,
PageRouteBuilder(
transitionDuration: Duration(seconds: 5),
pageBuilder: (_, __, ___) => LoginScreen(),
));
context,
PageRouteBuilder(
transitionDuration: Duration(seconds: 5),
pageBuilder: (_, __, ___) => LoginScreen(),
),
);
});
}

Expand Down

0 comments on commit 03636e1

Please sign in to comment.