Polish intro screen
This commit is contained in:
parent
e1143e252e
commit
8cc98b5459
@ -64,7 +64,7 @@ class AppLogic {
|
|||||||
|
|
||||||
// Load initial view (replace empty initial view which is covered by a native splash screen)
|
// Load initial view (replace empty initial view which is covered by a native splash screen)
|
||||||
bool showIntro = settingsLogic.hasCompletedOnboarding.value == false;
|
bool showIntro = settingsLogic.hasCompletedOnboarding.value == false;
|
||||||
if (true) {
|
if (showIntro) {
|
||||||
appRouter.go(ScreenPaths.intro);
|
appRouter.go(ScreenPaths.intro);
|
||||||
} else {
|
} else {
|
||||||
appRouter.go(ScreenPaths.home);
|
appRouter.go(ScreenPaths.home);
|
||||||
|
@ -126,6 +126,10 @@ class _IntroScreenState extends State<IntroScreen> {
|
|||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
// Build a cpl overlays to hide the content when swiping on very wide screens
|
||||||
|
_buildHzGradientOverlay(left: true),
|
||||||
|
_buildHzGradientOverlay(),
|
||||||
|
|
||||||
// finish button:
|
// finish button:
|
||||||
Positioned(
|
Positioned(
|
||||||
right: $styles.insets.lg,
|
right: $styles.insets.lg,
|
||||||
@ -140,10 +144,6 @@ class _IntroScreenState extends State<IntroScreen> {
|
|||||||
child: _buildNavText(context),
|
child: _buildNavText(context),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
// Build a cpl overlays to hide the content when swiping on very wide screens
|
|
||||||
_buildHzGradientOverlay(left: true),
|
|
||||||
_buildHzGradientOverlay(),
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return DefaultTextColor(
|
return DefaultTextColor(
|
||||||
|
@ -1149,10 +1149,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: string_scanner
|
name: string_scanner
|
||||||
sha256: "862015c5db1f3f3c4ea3b94dc2490363a84262994b88902315ed74be1155612f"
|
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.1.1"
|
version: "1.2.0"
|
||||||
sync_http:
|
sync_http:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -1173,10 +1173,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: test_api
|
name: test_api
|
||||||
sha256: c9aba3b3dbfe8878845dfab5fa096eb8de7b62231baeeb1cea8e3ee81ca8c6d8
|
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.4.15"
|
version: "0.4.16"
|
||||||
timing:
|
timing:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: wonders
|
name: wonders
|
||||||
description: Explore the famous wonders of the world.
|
description: Explore the famous wonders of the world.
|
||||||
publish_to: "none"
|
publish_to: "none"
|
||||||
version: 2.0.0
|
version: 2.0.1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.17.0 <3.0.0"
|
sdk: ">=2.17.0 <3.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user