Remove clouds from details view
This commit is contained in:
parent
403eca74e8
commit
a77b32084b
@ -9,10 +9,6 @@ class _TopIllustration extends StatelessWidget {
|
||||
return Stack(
|
||||
children: [
|
||||
WonderIllustration(type, config: WonderIllustrationConfig.bg(enableAnims: false, shortMode: true)),
|
||||
Positioned.fill(
|
||||
bottom: 50,
|
||||
child: AnimatedClouds(wonderType: type, enableAnimations: false, opacity: .5, cloudSize: 400),
|
||||
),
|
||||
Transform.translate(
|
||||
// Small bump down to make sure we cover the edge between the editorial page and the sky.
|
||||
offset: Offset(0, 10),
|
||||
|
@ -116,7 +116,6 @@ class _AnimatedCloudsState extends State<AnimatedClouds> with SingleTickerProvid
|
||||
|
||||
List<_Cloud> _getClouds() {
|
||||
Size size = ContextUtils.getSize(context) ?? Size(context.widthPx, 400);
|
||||
|
||||
rndSeed = _getCloudSeed(widget.wonderType);
|
||||
return List<_Cloud>.generate(3, (index) {
|
||||
return _Cloud(
|
||||
|
Loading…
x
Reference in New Issue
Block a user