diff --git a/lib/app/modules/select/views/select_view.dart b/lib/app/modules/select/views/select_view.dart index 42884d4..46a2878 100644 --- a/lib/app/modules/select/views/select_view.dart +++ b/lib/app/modules/select/views/select_view.dart @@ -41,12 +41,12 @@ class SelectView extends GetView { } Widget buildSelect(BuildContext context) { - return Stack( - children: [ - Positioned( - top: 2.h, - left: 412.w, - child: _ShowUp( + return _ShowUp( + child: Stack( + children: [ + Positioned( + top: 2.h, + left: 412.w, child: Container( width: 360.w, height: 164.h, @@ -63,9 +63,9 @@ class SelectView extends GetView { ), ), ), - ), - buildSelectOccupation(context), - ], + buildSelectOccupation(context), + ], + ), ); } @@ -287,22 +287,24 @@ class SelectView extends GetView { ), ), ), + Positioned( + left: 90.w, + top: 62.h, + child: AnimatedVisibilityWidget( + isVisible: !controller.showOccupationName.value, + animationWidgetBuilder: AnimatedVisibilityWidget.fadeAnimationWidgetBuilder, + child: Container( + width: 999.w, + height: 558.h, + color: const Color(0x8C02184B), + ), + ), + ), controller.recommend.value ? buildRecommendConfirmBtn( context, controller.selectOccupation.value!.name!) : buildConfirmBtn( context, controller.selectOccupation.value!.name!), - controller.showOccupationName.value - ? Container() - : Positioned( - left: 90.w, - top: 62.h, - child: Container( - width: 999.w, - height: 558.h, - color: const Color(0x8C02184B), - ), - ), RSizedBox( child: Stack( children: controller.questionAnswers.map((element) {