diff --git a/lib/app/modules/home/views/home_view.dart b/lib/app/modules/home/views/home_view.dart index d297cc6..4fb908a 100644 --- a/lib/app/modules/home/views/home_view.dart +++ b/lib/app/modules/home/views/home_view.dart @@ -183,7 +183,7 @@ class HomeView extends GetView { Widget goalWidget() { return Stack( children: [ - controller.explored2.value >= 4 + controller.explored2.value >= 1 ? Positioned( left: 15.w, top: 20.h, @@ -195,7 +195,7 @@ class HomeView extends GetView { ), ) : Container(), - controller.explored2.value >= 3 + controller.explored2.value >= 2 ? Positioned( left: 352.w, top: 0.0, @@ -207,7 +207,7 @@ class HomeView extends GetView { ), ) : Container(), - controller.explored2.value >= 2 + controller.explored2.value >= 3 ? Positioned( left: 363.w, top: 180.h, @@ -476,7 +476,7 @@ class HomeView extends GetView { ), ), ), - controller.explored2.value >= 4 + controller.explored2.value >= 1 ? Positioned( left: 15.w, top: 20.h, @@ -495,7 +495,7 @@ class HomeView extends GetView { ), ) : Container(), - controller.explored2.value >= 3 + controller.explored2.value >= 2 ? Positioned( left: 352.w, top: 0.0, @@ -517,7 +517,7 @@ class HomeView extends GetView { ), ) : Container(), - controller.explored2.value >= 2 + controller.explored2.value >= 3 ? Positioned( left: 363.w, top: 180.h, @@ -536,7 +536,7 @@ class HomeView extends GetView { ), ) : Container(), - controller.explored2.value >= 1 ? firstLeafWidget() : Container(), + controller.explored2.value >= 4 ? firstLeafWidget() : Container(), Positioned( right: 60.w, top: 346.h, @@ -544,9 +544,9 @@ class HomeView extends GetView { animationWidgetBuilder: AnimatedVisibilityWidget.fadeAnimationWidgetBuilder, duration: const Duration(milliseconds: 800), - isVisible: controller.explored2.value >= 1, + isVisible: controller.explored2.value >= 4, child: Visibility( - visible: controller.explored2.value >= 1, + visible: controller.explored2.value >= 4, child: const LanternWidget( brightCount: 0, ), diff --git a/lib/app/modules/home/widgets/lantern_widget.dart b/lib/app/modules/home/widgets/lantern_widget.dart index 993b620..3ab4232 100644 --- a/lib/app/modules/home/widgets/lantern_widget.dart +++ b/lib/app/modules/home/widgets/lantern_widget.dart @@ -13,7 +13,7 @@ class LanternWidget extends GetView { @override Widget build(BuildContext context) { return ShowUp( - duration: const Duration(seconds: 2), + duration: const Duration(seconds: 1, milliseconds: 500), child: Container( height: 90.h, width: 180.w,