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

跑不起来啊 #4

Open
xinkong2000 opened this issue Nov 23, 2020 · 2 comments
Open

跑不起来啊 #4

xinkong2000 opened this issue Nov 23, 2020 · 2 comments

Comments

@xinkong2000
Copy link

环境:Flutter (Channel master, 1.23.0-14.0.pre.75, on Mac OS X 10.15.6 19G2021 x86_64, locale zh-Hans-CN)
错误:
════════ Exception caught by widgets library ═══════════════════════════════
The following _CastError was thrown building NotificationListener:
Null check operator used on a null value

The relevant error-causing widget was:
NotificationListener file:///Users/。。。/.pub-cache/hosted/pub.flutter-io.cn/union_tabs-1.0.0+7/lib/src/outer/union_outer_page_view.dart:177:12
When the exception was thrown, this was the stack:
#0 ScrollPosition.pixels (package:flutter/src/widgets/scroll_position.dart:166:31)
#1 PagePosition.restoreScrollOffset (package:union_tabs/src/notification/scroll_position.dart:92:9)
#2 new ScrollPosition (package:flutter/src/widgets/scroll_position.dart:106:7)
#3 new ScrollPositionWithSingleContext (package:flutter/src/widgets/scroll_position_with_single_context.dart:55:8)
#4 new PagePosition (package:union_tabs/src/notification/scroll_position.dart:26:9)
...
═════════════════════════════════════════════════════════════════════════════════

@israrwz
Copy link

israrwz commented Mar 15, 2021

any fix for this?

@wilin52
Copy link
Owner

wilin52 commented Mar 19, 2021

any fix for this?

maybe the flutter version does not match, you can change version to 1.12

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

3 participants