Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class could not be registered correctly even when defaults are specified #77

Open
vanlooverenkoen opened this issue Dec 16, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed kiwi generator kiwi_generator package

Comments

@vanlooverenkoen
Copy link
Collaborator

Failed to resolve `IOSOptions`:
The type `IOSOptions` was not registered
Make sure `IOSOptions` is added to your KiwiContainer and rerun build_runner build
(If you are using the kiwi_generator)
When using Flutter, most of the time a hot restart is required to setup the KiwiContainer again.

There is probably an issue with default values

const FlutterSecureStorage({
  this.iOptions = IOSOptions.defaultOptions,
  this.aOptions = AndroidOptions.defaultOptions,
  this.lOptions = LinuxOptions.defaultOptions,
  this.wOptions = WindowsOptions.defaultOptions,
  this.webOptions = WebOptions.defaultOptions,
  this.mOptions = MacOsOptions.defaultOptions,
});
@vanlooverenkoen vanlooverenkoen added bug Something isn't working help wanted Extra attention is needed kiwi generator kiwi_generator package labels Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed kiwi generator kiwi_generator package
Projects
None yet
Development

No branches or pull requests

1 participant