添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
爱看书的卤蛋  ·  Cannot build ...·  1 周前    · 
健壮的回锅肉  ·  Faster Startup Times ...·  2 天前    · 
干练的硬币  ·  node-gyp使用帮助 | Jack ...·  2 天前    · 
骑白马的葡萄  ·  Namespace not ...·  20 小时前    · 
多情的剪刀  ·  GitHub - ...·  6 月前    · 
重感情的哑铃  ·  How to rotate an ...·  7 月前    · 
Widget build(BuildContext context) { if (_controller.hasClients) { SchedulerBinding.instance.addPostFrameCallback((_) => _controller.jumpTo( 0.0 )); return Container( child : ...

エラーログ

そのままやると:

  Widget build(BuildContext context) {
    if (_controller.hasClients) {
      _controller.jumpTo(0.0);
Performing hot reload...
Syncing files to device iPhone XR...
Reloaded 1 of 553 libraries in 949ms.
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown building MyWidget(dirty, dependencies:
flutter: [_LocalizationsScope-[GlobalKey#ab210], _InheritedTheme], state: _MyWidgetState#100b7):
flutter: Unexpected call to replaceSemanticsActions() method of RawGestureDetectorState.
flutter: The replaceSemanticsActions() method can only be called outside of the build phase.
  •