添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
伤情的凉茶  ·  On Windows, how do ...·  1 周前    · 
谦和的牙膏  ·  [meta-freescale] How ...·  1 周前    · 
听话的楼房  ·  Splash screen breaks ...·  4 天前    · 
老实的电梯  ·  Azure Functions – ...·  1小时前    · 
深情的黄瓜  ·  Slurm Can't find ...·  1 年前    · 
爱逃课的墨镜  ·  天下网商·  1 年前    · 
低调的梨子  ·  Python 使用 JSON Diff ...·  1 年前    · 
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.
  •