mirror of
https://github.com/gskinnerTeam/flutter-wonderous-app.git
synced 2025-06-24 06:01:18 +08:00
Remove pool element from TajMahal Hero
This commit is contained in:
@ -56,17 +56,20 @@ class TajMahalIllustration extends StatelessWidget {
|
||||
alignment: Alignment(0, config.shortMode ? 1 : -.15),
|
||||
child: FractionallySizedBox(
|
||||
widthFactor: config.shortMode ? 1 : 1.7,
|
||||
child: WonderHero(config, 'taj-mg',
|
||||
child: Stack(
|
||||
children: [
|
||||
Image.asset('$assetPath/taj-mahal.png', opacity: anim, fit: BoxFit.cover),
|
||||
WonderHero(
|
||||
config,
|
||||
'taj-mg',
|
||||
child: Image.asset('$assetPath/taj-mahal.png', opacity: anim, fit: BoxFit.cover),
|
||||
),
|
||||
if (!config.shortMode)
|
||||
FractionalTranslation(
|
||||
translation: Offset(0, 1.33),
|
||||
child: Image.asset('$assetPath/pool.png', opacity: anim, fit: BoxFit.cover),
|
||||
),
|
||||
],
|
||||
)),
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
Reference in New Issue
Block a user