feat: get cards from backend
This commit is contained in:
@@ -19,6 +19,8 @@ import 'feature/game/presentation/screen/tier_list_screen.dart';
|
||||
import 'feature/profile/presentation/bloc/profile_bloc.dart';
|
||||
import 'feature/profile/presentation/bloc/profile_event.dart';
|
||||
import 'feature/profile/presentation/screen/profile_screen.dart';
|
||||
import 'feature/ranked/presentation/bloc/leaderboard_bloc.dart';
|
||||
import 'feature/ranked/presentation/screen/leaderboard_screen.dart';
|
||||
import 'feature/shop/presentation/bloc/shop_bloc.dart';
|
||||
import 'feature/shop/presentation/bloc/shop_event.dart';
|
||||
import 'feature/shop/presentation/screen/shop_screen.dart';
|
||||
@@ -46,6 +48,14 @@ class HakemApp extends StatelessWidget {
|
||||
child: const ProfileScreen(),
|
||||
),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/leaderboard',
|
||||
builder: (_, __) => BlocProvider(
|
||||
create: (_) =>
|
||||
locator<LeaderboardBloc>()..add(LoadLeaderboardEvent()),
|
||||
child: const LeaderboardScreen(),
|
||||
),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/shop',
|
||||
builder: (_, __) => BlocProvider(
|
||||
|
||||
Reference in New Issue
Block a user