You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AtOnboarding.onboard() requires a config parameter of type AtOnboardingConfig, which is a part of at_onboarding_flutter package. Its constructor requires in its turn atClientPreference parameter of type AtClientPreference. This type is not a part of at_onboarding_flutter nor exposed by one. So it's hard to figure what else should be added to dependencies to make the project running.
I recommend to expose AtClientPreference by at_onboarding_flutter package
Steps to reproduce
1. Create widget from example:
Widget build(BuildContext context) {
final atClientPreference = AtClientPreference();
return TextButton(
onPressed: () async {
final result = await AtOnboarding.onboard(
context: context,
config: AtOnboardingConfig(
atClientPreference: atClientPreference,
domain: 'atkrypto.io',
rootEnvironment: RootEnvironment.Testing,
appAPIKey: AtEnv.appApiKey,
),
);
}
2. Observe impossibility to compile
...
Additional info
No response
Relevant log output
No response
Flutter analyze output
No response
Flutter doctor output
No response
The text was updated successfully, but these errors were encountered:
ksanty
added
3 SP
3 Story Points - 1 Day Small
2 SP
More than an hour less than a day
PR53
Jan 2023 Sprint Planning
and removed
3 SP
3 Story Points - 1 Day Small
labels
Jan 9, 2023
Which at_widget package you find issue with?
at_onboarding_flutter
On what platforms did you experience the issue?
Android, iOS, Windows, MacOS, Linux
What version are you using?
at_onboarding_flutter: 5.0.5
What happened?
AtOnboarding.onboard()
requires aconfig
parameter of typeAtOnboardingConfig
, which is a part ofat_onboarding_flutter
package. Its constructor requires in its turnatClientPreference
parameter of typeAtClientPreference
. This type is not a part ofat_onboarding_flutter
nor exposed by one. So it's hard to figure what else should be added to dependencies to make the project running.I recommend to expose
AtClientPreference
byat_onboarding_flutter
packageSteps to reproduce
Additional info
No response
Relevant log output
No response
Flutter analyze output
No response
Flutter doctor output
No response
The text was updated successfully, but these errors were encountered: