Closed joseph-grabinger closed 3 weeks ago
Adjusted the package's example in #82 so we have a common ground to speak about the same example/code-base @Vera-Spoettl.
@joseph-grabinger I'll start to investigate next weekend ...
Internal Note: A workaround to this issue is to define the GlobalKey
inside the CaptureWrapper
's scope.
From @Vera-Spoettl in #62:
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
The relevant error-causing widget was: CaptureWrapper-[<'someFrame'>] CaptureWrapper:file:///Users/vsz/Development/projects/stuff/report_generator/lib/main.dart:31:15
════════ Exception caught by widgets library ═══════════════════════════════════ Duplicate GlobalKey detected in widget tree. ════════════════════════════════════════════════════════════════════════════════