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

a Localizations ancestor was not found #37

Open
Misioka opened this issue Sep 11, 2024 · 1 comment
Open

a Localizations ancestor was not found #37

Misioka opened this issue Sep 11, 2024 · 1 comment

Comments

@Misioka
Copy link

Misioka commented Sep 11, 2024

When I try to render my flow screen with localization by DavinciCapture.offStage. I end up with error

======== Exception caught by widgets library =======================================================
The following assertion was thrown building PrintPreviewFlow(dirty):
a Localizations ancestor was not found
'package:flutter/src/widgets/localizations.dart':
Failed assertion: line 509 pos 12: 'scope != null'


Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.yml

I'm using flutter_localizations for localizations

@Imgkl
Copy link
Owner

Imgkl commented Oct 7, 2024

@Misioka Thanks for filing an issue. Could you please provide, reproducible code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants