Stacked-Org/stacked

Undefined name 'InitializableSingleton'

ujwalbasnet1 opened this issue · 6 comments

Describe the bug

#985

got this issue with stacked_generator-1.5.1

To reproduce

flutter pub run build_runner build --delete-conflicting-outputs

running build runner with stacked_generator-1.5.1

Expected behavior

No response

Screenshots

No response

Additional Context

No response

What version of Stacked are you using?

stacked: ^3.4.1
stacked_generator: 1.5.1

And this happens in a brand new project?

let me check creating a new project.. will update. Thanks

doesn't happen on new project.

dependency_overrides:
  stacked_shared: 1.3.2

I was overriding stacked_shared to an older version due to some issues I had earlier, the issue was due to older version of stacked_shared.

It works with the latest version.

Thanks.