Skip to content

Commit

Permalink
fix: fixed overflow and theme issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sardar1208 committed Dec 18, 2023
1 parent a9f2e66 commit 87b33bf
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1300;
LastUpgradeCheck = 1430;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
LastUpgradeVersion = "1430"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
18 changes: 17 additions & 1 deletion packages/at_onboarding_flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,13 @@ class _MyAppState extends State<MyApp> {
rootEnvironment: AtEnv.rootEnvironment,
appAPIKey: AtEnv.appApiKey,
theme: AtOnboardingTheme(
primaryColor: null,
primaryColor: Colors.blue,
textTheme: const TextTheme(
titleMedium: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),
),
),
showPopupSharedStorage: true,
),
Expand Down Expand Up @@ -148,11 +154,21 @@ class _MyAppState extends State<MyApp> {
onPressed: () async {
var preference = await futurePreference;
atClientPreference = preference;
// ignore: use_build_context_synchronously
AtOnboarding.reset(
context: context,
config: AtOnboardingConfig(
atClientPreference: atClientPreference!,
domain: AtEnv.rootDomain,
theme: AtOnboardingTheme(
primaryColor: Colors.blue,
textTheme: const TextTheme(
titleMedium: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),
),
),
rootEnvironment: AtEnv.rootEnvironment,
appAPIKey: AtEnv.appApiKey,
),
Expand Down
6 changes: 3 additions & 3 deletions packages/at_onboarding_flutter/example/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ SPEC CHECKSUMS:
package_info_plus: 02d7a575e80f194102bef286361c6c326e4c29ce
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
share_plus: 76dd39142738f7a68dd57b05093b5e8193f220f7
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
url_launcher_macos: 597e05b8e514239626bcf4a850fcf9ef5c856ec3
shared_preferences_foundation: e2dae3258e06f44cc55f49d42024fd8dd03c590c
url_launcher_macos: 5335912b679c073563f29d89d33d10d459f95451

PODFILE CHECKSUM: 353c8bcc5d5b0994e508d035b5431cfe18c1dea7

COCOAPODS: 1.11.3
COCOAPODS: 1.12.1
1 change: 1 addition & 0 deletions packages/at_onboarding_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ dependency_overrides:
intl: ^0.17.0
at_onboarding_flutter:
path: ../
# at_onboarding_flutter: ^6.1.5

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down

0 comments on commit 87b33bf

Please sign in to comment.