Skip to content

Commit

Permalink
feat: Add back button to leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
luanpotter committed Jul 3, 2023
1 parent ab36227 commit bfebcc4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/leaderboard/view/leaderboard_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,19 @@ class _LeaderboardPageState extends State<LeaderboardPage> {
color: Colors.white,
),
),
ElevatedButton(
onPressed: () => Navigator.of(context).pushReplacement(
TitlePage.route(),
),
child: Text(
'Back',
style: TextStyle(
fontFamily: bungee,
fontSize: 48,
color: Colors.white,
),
),
),
],
),
),
Expand Down

0 comments on commit bfebcc4

Please sign in to comment.