union_tabs icon indicating copy to clipboard operation
union_tabs copied to clipboard

跑不起来啊

Open xinkong2000 opened this issue 4 years ago • 2 comments

环境: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<ScrollNotification>: Null check operator used on a null value

The relevant error-causing widget was: NotificationListener<ScrollNotification> 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) ... ═════════════════════════════════════════════════════════════════════════════════

xinkong2000 avatar Nov 23 '20 03:11 xinkong2000

any fix for this?

israrwz avatar Mar 15 '21 12:03 israrwz

any fix for this?

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

wilin52 avatar Mar 19 '21 04:03 wilin52