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 missing context in the demo causes the error #4

Closed
wants to merge 2 commits into from
Closed

A missing context in the demo causes the error #4

wants to merge 2 commits into from

Conversation

mikekosulin
Copy link

Tried to open the demo, but got this

═══════════════════════╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY╞═══════════════════════
The following _CastError was thrown building PathStack(dirty, dependencies:
[_InheritedPathStack],
state: PathStackState#e449a(ticker active)):
type 'Null' is not a subtype of type '_InheritedNavStackController' in type cast

The relevant error-causing widget was:
  PathStack
  ./flutter_nav_stack/example/lib/advanced_tabs_demo.dart:16:40

fixed this stuff and wrapped in a SafeArea widget for better experience

@mikekosulin mikekosulin changed the title A missed context in the demo causes the error A missing context in the demo causes the error May 16, 2021
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

Successfully merging this pull request may close these issues.

None yet

1 participant