Small changes to Favorite-Screen
parent
ef81bdfb3a
commit
8c0d3676e9
|
|
@ -20,16 +20,16 @@ assets/images/arrowLinks.png,1745788948322,7c2e6d924c8b21aba8e6b58b5998d964c2ff1
|
|||
assets/images/prototype/prototype2.png,1745788948328,59863dcfc0eb346a4ddccde3ee5d31cbbc318e57fc1b9c82f34ce924c803f100
|
||||
assets/images/prototype/prototype1.png,1745788948325,38856e73e8544f42c8550c249ab5d820a0b511a03b2ff5913a5c327e37bf5a23
|
||||
assets/images/prototype/leancanvas1.png,1745788948324,2f6245b5ee908e682cf917905301510f7da5848d91373eea8f6d020bd2804478
|
||||
version.json,1750629349156,beb53905e09aa026fbfd8544475307ac1cc8878b5eb8072f44b5b1b8dfe47caa
|
||||
index.html,1750629333096,bd7b8ed757c3a9f61eb8e01f3f90724ff4aa03e200c15cd33d8653aa2b0cf31b
|
||||
assets/FontManifest.json,1750629349243,9ea504185602e57d97b7c3517d382b8627a13c0181c490c96a9b55a5d5c8810c
|
||||
assets/AssetManifest.json,1750629349243,7d5ecba60e3a1f05f8dadca2094eb13090f8e9578d01c50037c02ab5c59ecfa4
|
||||
flutter_service_worker.js,1750629350448,d80137d8a992532f294b246baaa6ed0dca7432d4b8d0ed9485bb72f6c50cf443
|
||||
assets/AssetManifest.bin.json,1750629349243,77c62ce3fd7c494bed363e766dde46e5e86faaa47e2b3239137f8cb4eb7c30fb
|
||||
flutter_bootstrap.js,1750629333093,4ac64912c766ad050ee3a19a651191d0f1e3cd713f98b44ef46d0d8072ff5856
|
||||
assets/AssetManifest.bin,1750629349243,3838b71b15de7f587ccaac0e708e90e9e5eae28b02e743b4291899f4b688bf44
|
||||
assets/packages/cupertino_icons/assets/CupertinoIcons.ttf,1750629350103,12bc6bf55aad4657f62747b6c1c9b5c120a594ed3540db21729b6db3c847340d
|
||||
assets/shaders/ink_sparkle.frag,1750629349333,80c6e65c75f1de434b1b22dba61e96ad82dba0f2fc5e8b3b59c2def46d794354
|
||||
assets/fonts/MaterialIcons-Regular.otf,1750629350103,9c76fa5bc2f5c3465076add6ae7d25566055b3dbff99068c5ac137554cb3e609
|
||||
assets/NOTICES,1750629349243,2423be738108ad3cecb49273868c0853d6b60024fc565d67e59a66196f6b3a57
|
||||
main.dart.js,1750629348797,e743182262acdd7211bf53790c10801b70ac844728c68cddf23bffb268a3da7d
|
||||
version.json,1750854384037,beb53905e09aa026fbfd8544475307ac1cc8878b5eb8072f44b5b1b8dfe47caa
|
||||
index.html,1750854367177,bd7b8ed757c3a9f61eb8e01f3f90724ff4aa03e200c15cd33d8653aa2b0cf31b
|
||||
assets/AssetManifest.json,1750854384117,7d5ecba60e3a1f05f8dadca2094eb13090f8e9578d01c50037c02ab5c59ecfa4
|
||||
flutter_service_worker.js,1750854385402,421d1d7b7930952a7264269cd29d75fb62fac167f509f169e7f6831033228a92
|
||||
assets/FontManifest.json,1750854384117,9ea504185602e57d97b7c3517d382b8627a13c0181c490c96a9b55a5d5c8810c
|
||||
assets/AssetManifest.bin.json,1750854384117,77c62ce3fd7c494bed363e766dde46e5e86faaa47e2b3239137f8cb4eb7c30fb
|
||||
flutter_bootstrap.js,1750854367174,2f27bebc9fd3fd493f4873c2848645e773e34c481daf746afe71584c49e22da8
|
||||
assets/AssetManifest.bin,1750854384117,3838b71b15de7f587ccaac0e708e90e9e5eae28b02e743b4291899f4b688bf44
|
||||
assets/shaders/ink_sparkle.frag,1750854384207,80c6e65c75f1de434b1b22dba61e96ad82dba0f2fc5e8b3b59c2def46d794354
|
||||
assets/packages/cupertino_icons/assets/CupertinoIcons.ttf,1750854385049,12bc6bf55aad4657f62747b6c1c9b5c120a594ed3540db21729b6db3c847340d
|
||||
assets/fonts/MaterialIcons-Regular.otf,1750854385049,9c76fa5bc2f5c3465076add6ae7d25566055b3dbff99068c5ac137554cb3e609
|
||||
assets/NOTICES,1750854384118,2423be738108ad3cecb49273868c0853d6b60024fc565d67e59a66196f6b3a57
|
||||
main.dart.js,1750854383651,4dc22e5059fa73f18601ca0ae30c8f55bc50ae61f8901472f5e8832b1772a643
|
||||
|
|
|
|||
|
|
@ -40,12 +40,13 @@ class _FavoritesTabState extends State<FavoritesTab> {
|
|||
title: const Text('Favoriten'),
|
||||
),
|
||||
body: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
// Filter-Chip-Leiste
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 8),
|
||||
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||
child: Wrap(
|
||||
alignment: WrapAlignment.center,
|
||||
spacing: 8,
|
||||
runSpacing: 8,
|
||||
children: [
|
||||
|
|
|
|||
|
|
@ -317,19 +317,22 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||
Positioned(
|
||||
left: 20,
|
||||
bottom: 20,
|
||||
child: Text(
|
||||
'Dein nächstes Training',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 22,
|
||||
fontWeight: FontWeight.bold,
|
||||
shadows: [
|
||||
Shadow(
|
||||
blurRadius: 8,
|
||||
color: Colors.black.withOpacity(0.5),
|
||||
offset: Offset(2, 2),
|
||||
),
|
||||
],
|
||||
child: FittedBox(
|
||||
fit: BoxFit.scaleDown,
|
||||
child: Text(
|
||||
'Dein nächstes Training',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 22,
|
||||
fontWeight: FontWeight.bold,
|
||||
shadows: [
|
||||
Shadow(
|
||||
blurRadius: 8,
|
||||
color: Colors.black.withOpacity(0.5),
|
||||
offset: Offset(2, 2),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
@ -377,6 +380,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
_buildFavoriteCircle('Aufwärmen & Mobilisation', Icons.directions_run, categoryColors['Aufwärmen & Mobilisation']!),
|
||||
_buildFavoriteCircle('Wurf- & Torabschluss', Icons.sports_handball, categoryColors['Wurf- & Torabschluss']!),
|
||||
|
|
@ -512,18 +516,30 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text(
|
||||
category,
|
||||
style: const TextStyle(fontSize: 12, color: Colors.grey),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
Flexible(
|
||||
child: FittedBox(
|
||||
fit: BoxFit.scaleDown,
|
||||
alignment: Alignment.centerLeft,
|
||||
child: Text(
|
||||
category,
|
||||
style: const TextStyle(fontSize: 12, color: Colors.grey),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
title,
|
||||
style: const TextStyle(fontWeight: FontWeight.bold, fontSize: 13),
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
Flexible(
|
||||
child: FittedBox(
|
||||
fit: BoxFit.scaleDown,
|
||||
alignment: Alignment.centerLeft,
|
||||
child: Text(
|
||||
title,
|
||||
style: const TextStyle(fontWeight: FontWeight.bold, fontSize: 13),
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue