feat: add characters
This commit is contained in:
@@ -8,6 +8,7 @@ import '../../../../core/settings/app_settings.dart';
|
||||
import '../../../../core/theme/app_theme.dart';
|
||||
import '../../../../core/theme/ranks.dart';
|
||||
import '../../../../core/widgets/game_ui.dart';
|
||||
import '../../../../core/widgets/player_avatar.dart';
|
||||
import '../../../../core/widgets/rank_badge.dart';
|
||||
import '../../../wallet/presentation/bloc/wallet_bloc.dart';
|
||||
import '../../../wallet/presentation/bloc/wallet_event.dart';
|
||||
|
||||
@@ -40,7 +40,11 @@ class _HeroCard extends StatelessWidget {
|
||||
shape: BoxShape.circle,
|
||||
color: AppColors.bgDark,
|
||||
),
|
||||
child: RandomAvatar(d.avatar, height: 90, width: 90),
|
||||
child: PlayerAvatar(
|
||||
seed: d.avatar,
|
||||
imageUrl: d.avatarImg,
|
||||
size: 90,
|
||||
),
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
|
||||
Reference in New Issue
Block a user