diff --git a/lib/screens/subheader_Datepicker.dart b/lib/screens/subheader_Datepicker.dart index 172a6bd..cd95731 100644 --- a/lib/screens/subheader_Datepicker.dart +++ b/lib/screens/subheader_Datepicker.dart @@ -367,87 +367,6 @@ class EventCard2Section extends StatelessWidget { } } -class GesundheitWellnes extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Column( - children: [ - Container( - width: 167, - height: 130, - child: Stack( - children: [ - Positioned( - left: 0, - top: 0, - child: Container( - width: 167, - height: 130, - decoration: ShapeDecoration( - image: DecorationImage( - image: - AssetImage('assets/images/Musik.png'), - fit: BoxFit.cover, - ), - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(8)), - shadows: [ - BoxShadow( - color: Color(0xFFF9AB15), - blurRadius: 0, - offset: Offset(0, 10), - spreadRadius: 0, - ) - ], - ), - ), - ), - Positioned( - left: 16, - top: 15, - child: Text( - '64', - style: TextStyle( - color: Colors.white, - fontSize: 18, - fontFamily: 'Inter', - fontWeight: FontWeight.w500, - height: 0, - ), - ), - ), - Positioned( - left: 13, - top: 86, - child: Text( - 'Musik', - style: TextStyle( - color: Colors.white, - fontSize: 24, - fontFamily: 'Inter', - fontWeight: FontWeight.w800, - height: 0, - ), - ), - ), - Positioned( - left: 127, - top: 9, - child: Container( - width: 31, - height: 31, - clipBehavior: Clip.antiAlias, - decoration: BoxDecoration(), - ), - ), - ], - ), - ), - ], - ); - } -} - class TagSlider extends StatelessWidget { @override Widget build(BuildContext context) { @@ -899,38 +818,25 @@ class MusikHeader extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ - Transform( - transform: Matrix4.identity() - ..translate(0.0, 0.0) - ..rotateZ(-1.57), - child: Container( + Align( + alignment: Alignment.centerLeft, + child: IconButton( + icon: Icon(Icons.keyboard_arrow_left), + onPressed: () { + Navigator.pop(context); + }, + ), + ), + Align( + alignment: Alignment.center, + child: Row( + children: [ + Container( width: 32, height: 32, - clipBehavior: Clip.antiAlias, - decoration: BoxDecoration(), - child: Column( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [], - ), - ), - ), - const SizedBox(width: 89), - Container( - child: Row( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - Container( - width: 24, - height: 24, - clipBehavior: Clip.antiAlias, - decoration: BoxDecoration(), - child: FlutterLogo(), - ), - const SizedBox(width: 8), + child: Image.asset( + 'assets/images/Icons/Icon_Musik.png', + ), ), Text( 'Musik', style: TextStyle( @@ -941,33 +847,16 @@ class MusikHeader extends StatelessWidget { height: 0, ), ), + ], + ), + ), + const SizedBox(width: 89), + + const SizedBox(width: 89), ], ), ), - const SizedBox(width: 89), - Opacity( - opacity: 0.80, - child: Container( - child: Row( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - Container( - width: 22, - height: 20, - clipBehavior: Clip.antiAlias, - decoration: BoxDecoration(), - child: FlutterLogo(), - ), - ], - ), - ), - ), - ], - ), - ), - ], + ] ); } }