Compare commits
5 Commits
5cade2cffa
...
9355fc2016
Author | SHA1 | Date | |
---|---|---|---|
|
9355fc2016 | ||
|
d6ea57859c | ||
|
c6a97771ca | ||
|
a616102694 | ||
|
ac32e162b3 |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 2.7 MiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 542 B |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 337 B After Width: | Height: | Size: 647 B |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 593 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 660 KiB |
@ -183,7 +183,7 @@ class HomeView extends GetView<HomeController> {
|
||||
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<HomeController> {
|
||||
),
|
||||
)
|
||||
: Container(),
|
||||
controller.explored2.value >= 3
|
||||
controller.explored2.value >= 2
|
||||
? Positioned(
|
||||
left: 352.w,
|
||||
top: 0.0,
|
||||
@ -207,7 +207,7 @@ class HomeView extends GetView<HomeController> {
|
||||
),
|
||||
)
|
||||
: Container(),
|
||||
controller.explored2.value >= 2
|
||||
controller.explored2.value >= 3
|
||||
? Positioned(
|
||||
left: 363.w,
|
||||
top: 180.h,
|
||||
@ -476,7 +476,7 @@ class HomeView extends GetView<HomeController> {
|
||||
),
|
||||
),
|
||||
),
|
||||
controller.explored2.value >= 4
|
||||
controller.explored2.value >= 1
|
||||
? Positioned(
|
||||
left: 15.w,
|
||||
top: 20.h,
|
||||
@ -495,7 +495,7 @@ class HomeView extends GetView<HomeController> {
|
||||
),
|
||||
)
|
||||
: Container(),
|
||||
controller.explored2.value >= 3
|
||||
controller.explored2.value >= 2
|
||||
? Positioned(
|
||||
left: 352.w,
|
||||
top: 0.0,
|
||||
@ -517,7 +517,7 @@ class HomeView extends GetView<HomeController> {
|
||||
),
|
||||
)
|
||||
: Container(),
|
||||
controller.explored2.value >= 2
|
||||
controller.explored2.value >= 3
|
||||
? Positioned(
|
||||
left: 363.w,
|
||||
top: 180.h,
|
||||
@ -536,7 +536,7 @@ class HomeView extends GetView<HomeController> {
|
||||
),
|
||||
)
|
||||
: 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<HomeController> {
|
||||
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,
|
||||
),
|
||||
|
@ -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,
|
||||
|
@ -113,7 +113,7 @@ class SelectController extends GetxController {
|
||||
vImage: 'btn_male_pic_artist',
|
||||
hImage: 'pic_male_artist',
|
||||
selected: false,
|
||||
enable: true,
|
||||
enable: false,
|
||||
));
|
||||
occupations.add(Occupation(
|
||||
id: 6,
|
||||
@ -188,7 +188,7 @@ class SelectController extends GetxController {
|
||||
vImage: 'btn_female_pic_artist',
|
||||
hImage: 'pic_female_artist',
|
||||
selected: false,
|
||||
enable: true,
|
||||
enable: false,
|
||||
));
|
||||
occupations.add(Occupation(
|
||||
id: 6,
|
||||
|
@ -41,12 +41,12 @@ class SelectView extends GetView<SelectController> {
|
||||
}
|
||||
|
||||
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<SelectController> {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
buildSelectOccupation(context),
|
||||
],
|
||||
buildSelectOccupation(context),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@ -287,22 +287,24 @@ class SelectView extends GetView<SelectController> {
|
||||
),
|
||||
),
|
||||
),
|
||||
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) {
|
||||
|