feat: add App Icon
This commit is contained in:
parent
6092692c54
commit
d731c31200
11 changed files with 56 additions and 11 deletions
|
|
@ -46,6 +46,7 @@ class AssetPaths {
|
|||
|
||||
static const String audioBeepShort = 'audio/beep_short.ogg';
|
||||
static const String audioBeepLong = 'audio/beep_long.ogg';
|
||||
static const String appLogo = 'assets/icons/icon.png';
|
||||
}
|
||||
|
||||
class PlateColors {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|||
import 'package:go_router/go_router.dart';
|
||||
import 'package:slrpg_app/l10n/app_localizations.dart';
|
||||
import 'package:slrpg_app/src/core/utils/error_handler.dart';
|
||||
import 'package:slrpg_app/src/core/constants/asset_paths.dart';
|
||||
|
||||
import '../../data/repositories/auth_repository.dart';
|
||||
import '../../../../core/theme/app_theme.dart';
|
||||
|
|
@ -106,11 +107,10 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
|
|||
children: [
|
||||
const Spacer(),
|
||||
Container(
|
||||
width: 100,
|
||||
height: 100,
|
||||
width: 120,
|
||||
height: 220,
|
||||
decoration: BoxDecoration(
|
||||
color: AppTheme.primaryColor,
|
||||
borderRadius: BorderRadius.circular(20),
|
||||
borderRadius: BorderRadius.circular(24),
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: AppTheme.primaryColor
|
||||
|
|
@ -120,10 +120,12 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
|
|||
),
|
||||
],
|
||||
),
|
||||
child: const Icon(
|
||||
Icons.fitness_center,
|
||||
size: 56,
|
||||
color: Colors.black,
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(24),
|
||||
child: Image.asset(
|
||||
AssetPaths.appLogo,
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 32),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue