Replacing TabController mid-animation throws exception

When trying to dynamically update the number of tabs with a new TabController, an exception is thrown because the animation library attempts to reach an AnimationController that is no longer available.
Steps to Reproduce
Here's a gist with reproducible sample.

Get the TabBarView or TabBar mid-animation
Add/Remove tab while mid-animation

Logs
I/flutter ( 4483): #12     ScrollPositionWithSingleContext.setPixels
package:flutter/…/widgets/scroll_position_with_single_context.dart:83
I/flutter ( 4483): #13     BallisticScrollActivity.applyMoveTo
package:flutter/…/widgets/scroll_activity.dart:547
I/flutter ( 4483): #14     BallisticScrollActivity._tick
package:flutter/…/widgets/scroll_activity.dart:534
I/flutter ( 4483): #15     _AnimationController&Animation&AnimationEagerListenerMixin&AnimationLocalListenersMixin.notifyListeners
package:flutter/…/animation/listener_helpers.dart:124
I/flutter ( 4483): #16     AnimationController._tick
package:flutter/…/animation/animation_controller.dart:765
I/flutter ( 4483): #17     Ticker._tick
package:flutter/…/scheduler/ticker.dart:228
I/flutter ( 4483): #18     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback
package:flutter/…/scheduler/binding.dart:1016
I/flutter ( 4483): #19     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame.<anonymous closure>
package:flutter/…/scheduler/binding.dart:934
I/flutter ( 4483): #20     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach  (dart:collection-patch/compact_hash.dart:367:8)
I/flutter ( 4483): #21     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame
package:flutter/…/scheduler/binding.dart:932
I/flutter ( 4483): #22     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleBeginFrame
package:flutter/…/scheduler/binding.dart:866
I/flutter ( 4483): #26     _invoke1  (dart:ui/hooks.dart:250:10)
I/flutter ( 4483): #27     _beginFrame  (dart:ui/hooks.dart:177:3)
I/flutter ( 4483): (elided 3 frames from package dart:async)
I/flutter ( 4483):
I/flutter ( 4483): The AnimationController notifying listeners was:
I/flutter ( 4483):   AnimationController#a39b9(▶ 343.604; for BallisticScrollActivity)
I/flutter ( 4483): ════════════════════════════════════════════════════════════════════════════════════════════════════

Do we need to do
_tabController.dispose();
during _updateTabController ?
When I comment this line it looks fine for me.

@hawkbee1 You have to dispose the previous tab controller before making use of the new tab controllerto avoid leaks. In our case, dispose is not working as intended since it's supposed to completely remove the old controller from being referenced or used by TabBar and TabBarView.

Hi @shihaohong
Testing your code on latest dev channel, i wasn't able to produce any exception between mid swiping animation and tapping add or subtract tab
Do you think this issue is still valid?
Thank you

I just tested this and I was still able to reproduce the problem on master.

code sample
// Flutter code sample for material.TabController.2

// A sample application dynamically adds and removes tabs.

import 'dart:math' as math;
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyTabbedPage(title: 'Dynamic tabs demo'),
    );
  }
}

class MyTabbedPage extends StatefulWidget {
  MyTabbedPage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyTabbedPageState createState() => _MyTabbedPageState();
}

class _MyTabbedPageState extends State<MyTabbedPage>
    with TickerProviderStateMixin {
  List<Tab> myTabs = <Tab>[
    Tab(text: '1'),
    Tab(text: '2'),
  ];

  TabController _tabController;

  @override
  void initState() {
    super.initState();
    _tabController = TabController(vsync: this, length: myTabs.length);
  }

  @override
  void dispose() {
    _tabController.dispose();
    super.dispose();
  }

  void _updateTabController() {
    int newIndex;
    if (_tabController.index >= myTabs.length) {
      newIndex = math.max(0, myTabs.length - 2);
    } else {
      newIndex = _tabController.index;
    }

    _tabController.dispose();
    _tabController = TabController(
      vsync: this,
      length: myTabs.length,
      initialIndex: newIndex,
    );
  }

  void _addNewTab() {
    setState(() {
      myTabs = myTabs.toList()..add(Tab(text: '${myTabs.length + 1}'));
      _updateTabController();
    });
    setState(() {});
  }

  void _removeLastTab() {
    setState(() {
      myTabs = myTabs.toList()..removeLast();
      _updateTabController();
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
        actions: [
          IconButton(
            icon: Icon(Icons.remove),
            onPressed: _removeLastTab,
          ),
        ],
        bottom: TabBar(
          controller: _tabController,
          tabs: myTabs,
        ),
      ),
      body: TabBarView(
        controller: _tabController,
        children: myTabs.map((Tab tab) {
          final String label = tab.text.toLowerCase();
          return Center(
            child: Text(
              'This is the tab $label',
              style: const TextStyle(fontSize: 36),
            ),
          );
        }).toList(),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _addNewTab,
        child: Icon(Icons.add),
      ),
    );
  }
}

logs
[ +138 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +99 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ]<PHONE_NUMBER>7c3a836feee883712c241a5fd22983
[   +1 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git tag --points-at HEAD
[ +128 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.22.5
[  +10 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/tahatesser/Code/flutter_stable/] git ls-remote --get-url origin
[  +17 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +61 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git rev-parse --abbrev-ref HEAD
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +5 ms] executing: sw_vers -productName
[  +20 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +14 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.1
[        ] executing: sw_vers -buildVersion
[  +25 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20C69
[        ] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +48 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +13 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb devices -l
[   +6 ms] executing: /usr/bin/xcode-select --print-path
[   +8 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Volumes/Extreme/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[ +258 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[        ] Xcode 12.3
           Build version 12C33
[   +2 ms] executing: sysctl hw.optional.arm64
[   +4 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcdevice list --timeout 2
[   +3 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +40 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:6
[  +88 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.watchOS-7-2" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-14-3" : [
                 {
                   "dataPath" : "\/Users\/tahatesser\/Library\/Developer\/CoreSimulator\/Devices\/2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF\/data",
                   "logPath" : "\/Users\/tahatesser\/Library\/Logs\/CoreSimulator\/2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF",
                   "udid" : "2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
                   "state" : "Shutdown",
                   "name" : "iPhone 12"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-13-3" : [
                 {
                   "dataPath" : "\/Users\/tahatesser\/Library\/Developer\/CoreSimulator\/Devices\/7D1B953D-451F-4F97-9885-5A5969613B0B\/data",
                   "logPath" : "\/Users\/tahatesser\/Library\/Logs\/CoreSimulator\/7D1B953D-451F-4F97-9885-5A5969613B0B",
                   "udid" : "7D1B953D-451F-4F97-9885-5A5969613B0B",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                   "state" : "Shutdown",
                   "name" : "iPhone 8 Plus"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.tvOS-14-3" : [

               ]
             }
           }
[+2934 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.3 (18C61)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,2",
               "identifier" : "2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-12-1",
               "modelName" : "iPhone 12",
               "name" : "iPhone 12"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.3 (17C45)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone10,5",
               "identifier" : "7D1B953D-451F-4F97-9885-5A5969613B0B",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-8-plus-2",
               "modelName" : "iPhone 8 Plus",
               "name" : "iPhone 8 Plus"
             }
           ]
[   +4 ms] /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell getprop
[  +31 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +70 ms] Running "flutter pub get" in stable_flutter...
[   +4 ms] executing: [/Users/tahatesser/AndroidStudioProjects/stable_flutter/] /Users/tahatesser/Code/flutter_stable/bin/cache/dart-sdk/bin/pub --verbose get --no-precompile
[  +57 ms] MSG : Resolving dependencies...
[        ] MSG : Got dependencies!
[  +33 ms] Running "flutter pub get" in stable_flutter... (completed in 0.5s)
[ +170 ms] Generating /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +25 ms] ro.hardware = ranchu
[  +11 ms] Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +20 ms] Starting incremental build...
[   +2 ms] Initializing file store
[  +12 ms] Skipping target: gen_localizations
[   +9 ms] complete
[   +4 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[   +5 ms] /Users/tahatesser/Code/flutter_stable/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill /var/folders/37/jzy2jdc16sb3p89cn_6g967c0000gn/T/flutter_tools.UAJKym/flutter_tool.WLmUQq/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[  +13 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +24 ms] Exit code 0 from: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           01-18 18:55:29.915 E/GnssHAL_GnssInterface( 1800): gnssSvStatusCb: b: input svInfo.flags is 8
[   +1 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +18 ms] Exit code 0 from: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           01-18 18:55:29.915 E/GnssHAL_GnssInterface( 1800): gnssSvStatusCb: b: input svInfo.flags is 8
[  +14 ms] <- compile package:triage/main.dart
[  +11 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb version
[  +75 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as /Volumes/Extreme/SDK/platform-tools/adb
[   +2 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb start-server
[  +12 ms] Building APK
[  +13 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] set `android.enableR8=true` in gradle.properties
[   +4 ms] /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/gradle_wrapper/gradle/wrapper/gradle-wrapper.jar mode: 33188 rw-r--r--.
[   +1 ms] /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/gradle_wrapper/gradlew mode: 33261 rwxr-xr-x.
[        ] /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/gradlew mode: 33188 rw-r--r--.
[        ] Trying to give execute permission to /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/gradlew.
[  +11 ms] /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/gradle_wrapper/gradlew.bat mode: 33188 rw-r--r--.
[   +1 ms] Using gradle from /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/gradlew.
[        ] /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/gradlew mode: 33261 rwxr-xr-x.
[   +9 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +14 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.1","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.vendor.name":"Google","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>53283","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>53283. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[   +2 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +200 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +1 ms] executing: [/Users/tahatesser/AndroidStudioProjects/stable_flutter/android/] /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/Users/tahatesser/AndroidStudioProjects/stable_flutter/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+5330 ms] > Task :app:compileFlutterBuildDebug
[        ] [ +128 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +44 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ]<PHONE_NUMBER>7c3a836feee883712c241a5fd22983
[        ] [        ] executing: [/Users/tahatesser/Code/flutter_stable/] git tag --points-at HEAD
[        ] [  +25 ms] Exit code 0 from: git tag --points-at HEAD
[        ] [        ] 1.22.5
[        ] [   +8 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/Users/tahatesser/Code/flutter_stable/] git ls-remote --get-url origin
[        ] [  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +46 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git rev-parse --abbrev-ref HEAD
[        ] [  +22 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [   +1 ms] stable
[        ] [  +44 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +11 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [  +87 ms] Initializing file store
[        ] [  +16 ms] Skipping target: gen_localizations
[        ] [   +7 ms] kernel_snapshot: Starting due to {}
[   +1 ms] [  +25 ms] /Users/tahatesser/Code/flutter_stable/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages /Users/tahatesser/AndroidStudioProjects/stable_flutter/.packages --output-dill /Users/tahatesser/AndroidStudioProjects/stable_flutter/.dart_tool/flutter_build/ba75fc4e7415ca7af8f7068beddea332/app.dill --depfile /Users/tahatesser/AndroidStudioProjects/stable_flutter/.dart_tool/flutter_build/ba75fc4e7415ca7af8f7068beddea332/kernel_snapshot.d package:triage/main.dart
[+5870 ms] [+7014 ms] kernel_snapshot: Complete
[ +600 ms] [ +542 ms] debug_android_application: Starting due to {}
[ +199 ms] [ +258 ms] debug_android_application: Complete
[ +600 ms] [ +599 ms] Persisting file store
[ +100 ms] [  +23 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [  +10 ms] "flutter assemble" took 8,624ms.
[        ] [   +3 ms] ensureAnalyticsSent: 0ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +200 ms] > Task :app:packLibsflutterBuildDebug
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:checkDebugManifest
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig
[        ] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugShaders
[        ] > Task :app:compileDebugShaders
[        ] > Task :app:generateDebugAssets
[        ] > Task :app:mergeDebugAssets
[ +293 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug
[        ] > Task :app:generateDebugResValues
[        ] > Task :app:generateDebugResources
[ +502 ms] > Task :app:createDebugCompatibleScreenManifests
[        ] > Task :app:processDebugManifest
[  +99 ms] > Task :app:mergeDebugResources
[ +900 ms] > Task :app:processDebugResources
[+2298 ms] > Task :app:compileDebugKotlin
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:javaPreCompileDebug
[+1107 ms] > Task :app:compileDebugJavaWithJavac
[        ] > Task :app:compileDebugSources
[        ] > Task :app:checkDebugDuplicateClasses
[ +189 ms] > Task :app:transformClassesWithDexBuilderForDebug
[  +98 ms] > Task :app:validateSigningDebug
[        ] > Task :app:signingConfigWriterDebug
[        ] > Task :app:desugarDebugFileDependencies
[        ] > Task :app:mergeDebugJniLibFolders
[ +504 ms] > Task :app:mergeDebugJavaResource
[  +96 ms] > Task :app:mergeExtDexDebug
[ +502 ms] > Task :app:mergeDexDebug
[ +497 ms] > Task :app:mergeDebugNativeLibs
[ +397 ms] > Task :app:stripDebugDebugSymbols
[        ] Compatible side by side NDK version was not found.
[        ] Unable to strip library '/Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libflutter.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
[        ] Unable to strip library '/Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/intermediates/merged_native_libs/debug/out/lib/x86_64/libflutter.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
[+4001 ms] > Task :app:packageDebug
[ +200 ms] > Task :app:assembleDebug
[        ] BUILD SUCCESSFUL in 24s
[        ] 31 actionable tasks: 30 executed, 1 up-to-date
[ +380 ms] Running Gradle task 'assembleDebug'... (completed in 25.3s)
[  +33 ms] calculateSha: LocalDirectory: '/Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/outputs/flutter-apk'/app.apk
[  +24 ms] calculateSha: reading file took 23us
[ +481 ms] calculateSha: computing sha took 480us
[   +4 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +4 ms] executing: /Volumes/Extreme/SDK/build-tools/30.0.3/aapt dump xmltree /Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[ +256 ms] Exit code 0 from: /Volumes/Extreme/SDK/build-tools/30.0.3/aapt dump xmltree /Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1d
               A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
               A: package="com.nevercode.triage" (Raw: "com.nevercode.triage")
               A: platformBuildVersionCode=(type 0x10)0x1d
               A: platformBuildVersionName=(type 0x10)0xa
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="triage" (Raw: "triage")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.nevercode.triage.MainActivity" (Raw: "com.nevercode.triage.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +7 ms] Stopping app 'app.apk' on Android SDK built for x86.
[   +1 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell am force-stop com.nevercode.triage
[ +143 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell pm list packages com.nevercode.triage
[  +54 ms] package:com.nevercode.triage
[   +3 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.nevercode.triage.sha1
[ +193 ms] 0ad2692201bb559e8583852458f1a845c451f2c8
[   +3 ms] Installing APK.
[   +3 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb version
[  +14 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as /Volumes/Extreme/SDK/platform-tools/adb
[   +1 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb start-server
[  +13 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 install -t -r /Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/outputs/flutter-apk/app.apk
[+4040 ms] Performing Streamed Install
           Success
[   +1 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 4.0s)
[   +5 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell echo -n 2e3a79d767e73d404df800da67cf7a8c5e7564c9 > /data/local/tmp/sky.com.nevercode.triage.sha1
[  +38 ms] Android SDK built for x86 startApp
[   +6 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.nevercode.triage/com.nevercode.triage.MainActivity
[ +255 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.nevercode.triage/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+2414 ms] Observatory URL on device: http://<IP_ADDRESS>:42029/aNDNHlcpAGA=/
[   +2 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:42029
[  +25 ms] 58065
[   +1 ms] Forwarded host port 58065 to device port 42029 for Observatory
[  +15 ms] Caching compiled dill
[ +151 ms] Connecting to service protocol: http://<IP_ADDRESS>:58065/aNDNHlcpAGA=/
[   +7 ms] DDS is currently disabled due to https://github.com/flutter/flutter/issues/62507
[ +559 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:58065/aNDNHlcpAGA=/
[        ] Waiting for Android SDK built for x86 to report its views...
[   +7 ms] Waiting for Android SDK built for x86 to report its views... (completed in 5ms)
[  +11 ms] DevFS: Creating new filesystem on the device (null)
[  +69 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.nevercode.triage/code_cache/stable_flutterXHVIYC/stable_flutter/)
[   +2 ms] Updating assets
[ +139 ms] Syncing files to device Android SDK built for x86...
[   +1 ms] Scanning asset files
[   +3 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:triage/main.dart 65aa0461-9bfc-41f2-b544-9a673fed93b6
[        ] <- 65aa0461-9bfc-41f2-b544-9a673fed93b6
[ +135 ms] D/EGL_emulation(12344): eglMakeCurrent: 0xd7d1a0c0: ver 3 0 (tinfo 0xd7d0f1e0)
[  +13 ms] D/eglCodecCommon(12344): setVertexArrayObject: set vao to 0 (0) 1 0
[ +226 ms] Updating files
[ +249 ms] I/Choreographer(12344): Skipped 100 frames!  The application may be doing too much work on its main thread.
[ +886 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device Android SDK built for x86... (completed in 1,520ms)
[   +2 ms] Synced 1.8MB.
[   +2 ms] <- accept
[   +5 ms] Connected to _flutterView/0xc0b04c10.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:58065/aNDNHlcpAGA=/
[ +418 ms] D/EGL_emulation(12344): eglMakeCurrent: 0xdfeacfa0: ver 3 0 (tinfo 0xd7d0f420)
[  +23 ms] D/eglCodecCommon(12344): setVertexArrayObject: set vao to 0 (0) 1 0
[+22845 ms] I/flutter (12344): ══╡ EXCEPTION CAUGHT BY ANIMATION LIBRARY ╞═════════════════════════════════════════════════════════
[        ] I/flutter (12344): The following NoSuchMethodError was thrown while notifying listeners for AnimationController:
[        ] I/flutter (12344): The getter 'value' was called on null.
[        ] I/flutter (12344): Receiver: null
[        ] I/flutter (12344): Tried calling: value
[        ] I/flutter (12344):
[        ] I/flutter (12344): When the exception was thrown, this was the stack:
[        ] I/flutter (12344): #0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
[        ] I/flutter (12344): #1      TabController.offset (package:flutter/src/material/tab_controller.dart:283:45)
[        ] I/flutter (12344): #2      TabController.offset= (package:flutter/src/material/tab_controller.dart:288:18)
[        ] I/flutter (12344): #3      _TabBarViewState._handleScrollNotification (package:flutter/src/material/tabs.dart:1346:19)
[        ] I/flutter (12344): #4      NotificationListener._dispatch (package:flutter/src/widgets/notification_listener.dart:133:41)
[        ] I/flutter (12344): #5      Notification.visitAncestor (package:flutter/src/widgets/notification_listener.dart:49:20)
[        ] I/flutter (12344): #6      ViewportNotificationMixin.visitAncestor (package:flutter/src/widgets/scroll_notification.dart:33:18)
[        ] I/flutter (12344): #7      Element.visitAncestorElements (package:flutter/src/widgets/framework.dart:4114:39)
[        ] I/flutter (12344): #8      Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:65:13)
[        ] I/flutter (12344): #9      ScrollActivity.dispatchScrollUpdateNotification (package:flutter/src/widgets/scroll_activity.dart:98:92)
[        ] I/flutter (12344): #10     ScrollPosition.didUpdateScrollPositionBy (package:flutter/src/widgets/scroll_position.dart:829:14)
[        ] I/flutter (12344): #11     ScrollPosition.setPixels (package:flutter/src/widgets/scroll_position.dart:266:9)
[        ] I/flutter (12344): #12     ScrollPositionWithSingleContext.setPixels (package:flutter/src/widgets/scroll_position_with_single_context.dart:85:18)
[        ] I/flutter (12344): #13     BallisticScrollActivity.applyMoveTo (package:flutter/src/widgets/scroll_activity.dart:558:21)
[        ] I/flutter (12344): #14     BallisticScrollActivity._tick (package:flutter/src/widgets/scroll_activity.dart:545:10)
[        ] I/flutter (12344): #15     AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:136:19)
[        ] I/flutter (12344): #16     AnimationController._tick (package:flutter/src/animation/animation_controller.dart:797:5)
[        ] I/flutter (12344): #17     Ticker._tick (package:flutter/src/scheduler/ticker.dart:238:12)
[        ] I/flutter (12344): #18     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1117:15)
[        ] I/flutter (12344): #19     SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1031:11)
[        ] I/flutter (12344): #20     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
[        ] I/flutter (12344): #21     SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1029:17)
[        ] I/flutter (12344): #22     SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:963:5)
[        ] I/flutter (12344): #26     _invoke1 (dart:ui/hooks.dart:265:10)
[        ] I/flutter (12344): #27     _beginFrame (dart:ui/hooks.dart:192:3)
[        ] I/flutter (12344): (elided 3 frames from dart:async)
[        ] I/flutter (12344):
[        ] I/flutter (12344): The AnimationController notifying listeners was:
[        ] I/flutter (12344):   AnimationController#2838e(▶ 370.375; for BallisticScrollActivity)
[        ] I/flutter (12344): ════════════════════════════════════════════════════════════════════════════════════════════════════

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (6 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.402, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.402 at /Users/tahatesser/Code/flutter_master
    • Framework revision 2a188eeca3 (10 hours ago), 2021-01-17 19:27:00 -0800
    • Engine revision 609036f2bf
    • Dart version 2.12.0 (build 2.12.0-236.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

code sample
// Flutter code sample for material.TabController.2

// A sample application dynamically adds and removes tabs.

import 'dart:math' as math;
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyTabbedPage(title: 'Dynamic tabs demo'),
    );
  }
}

class MyTabbedPage extends StatefulWidget {
  MyTabbedPage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyTabbedPageState createState() => _MyTabbedPageState();
}

class _MyTabbedPageState extends State<MyTabbedPage>
    with TickerProviderStateMixin {
  List<Tab> myTabs = <Tab>[
    Tab(text: '1'),
    Tab(text: '2'),
  ];

  TabController _tabController;

  @override
  void initState() {
    super.initState();
    _tabController = TabController(vsync: this, length: myTabs.length);
  }

  @override
  void dispose() {
    _tabController.dispose();
    super.dispose();
  }

  void _updateTabController() {
    int newIndex;
    if (_tabController.index >= myTabs.length) {
      newIndex = math.max(0, myTabs.length - 2);
    } else {
      newIndex = _tabController.index;
    }

    _tabController.dispose();
    _tabController = TabController(
      vsync: this,
      length: myTabs.length,
      initialIndex: newIndex,
    );
  }

  void _addNewTab() {
    setState(() {
      myTabs = myTabs.toList()..add(Tab(text: '${myTabs.length + 1}'));
      _updateTabController();
    });
    setState(() {});
  }

  void _removeLastTab() {
    setState(() {
      myTabs = myTabs.toList()..removeLast();
      _updateTabController();
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
        actions: [
          IconButton(
            icon: Icon(Icons.remove),
            onPressed: _removeLastTab,
          ),
        ],
        bottom: TabBar(
          controller: _tabController,
          tabs: myTabs,
        ),
      ),
      body: TabBarView(
        controller: _tabController,
        children: myTabs.map((Tab tab) {
          final String label = tab.text.toLowerCase();
          return Center(
            child: Text(
              'This is the tab $label',
              style: const TextStyle(fontSize: 36),
            ),
          );
        }).toList(),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _addNewTab,
        child: Icon(Icons.add),
      ),
    );
  }
}

logs
[ +138 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +99 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ]<PHONE_NUMBER>7c3a836feee883712c241a5fd22983
[   +1 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git tag --points-at HEAD
[ +128 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.22.5
[  +10 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/tahatesser/Code/flutter_stable/] git ls-remote --get-url origin
[  +17 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +61 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git rev-parse --abbrev-ref HEAD
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +5 ms] executing: sw_vers -productName
[  +20 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +14 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.1
[        ] executing: sw_vers -buildVersion
[  +25 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20C69
[        ] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +48 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +13 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb devices -l
[   +6 ms] executing: /usr/bin/xcode-select --print-path
[   +8 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Volumes/Extreme/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[ +258 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[        ] Xcode 12.3
           Build version 12C33
[   +2 ms] executing: sysctl hw.optional.arm64
[   +4 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcdevice list --timeout 2
[   +3 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +40 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:6
[  +88 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.watchOS-7-2" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-14-3" : [
                 {
                   "dataPath" : "\/Users\/tahatesser\/Library\/Developer\/CoreSimulator\/Devices\/2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF\/data",
                   "logPath" : "\/Users\/tahatesser\/Library\/Logs\/CoreSimulator\/2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF",
                   "udid" : "2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
                   "state" : "Shutdown",
                   "name" : "iPhone 12"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-13-3" : [
                 {
                   "dataPath" : "\/Users\/tahatesser\/Library\/Developer\/CoreSimulator\/Devices\/7D1B953D-451F-4F97-9885-5A5969613B0B\/data",
                   "logPath" : "\/Users\/tahatesser\/Library\/Logs\/CoreSimulator\/7D1B953D-451F-4F97-9885-5A5969613B0B",
                   "udid" : "7D1B953D-451F-4F97-9885-5A5969613B0B",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                   "state" : "Shutdown",
                   "name" : "iPhone 8 Plus"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.tvOS-14-3" : [

               ]
             }
           }
[+2934 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.3 (18C61)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,2",
               "identifier" : "2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-12-1",
               "modelName" : "iPhone 12",
               "name" : "iPhone 12"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.3 (17C45)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone10,5",
               "identifier" : "7D1B953D-451F-4F97-9885-5A5969613B0B",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-8-plus-2",
               "modelName" : "iPhone 8 Plus",
               "name" : "iPhone 8 Plus"
             }
           ]
[   +4 ms] /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell getprop
[  +31 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +70 ms] Running "flutter pub get" in stable_flutter...
[   +4 ms] executing: [/Users/tahatesser/AndroidStudioProjects/stable_flutter/] /Users/tahatesser/Code/flutter_stable/bin/cache/dart-sdk/bin/pub --verbose get --no-precompile
[  +57 ms] MSG : Resolving dependencies...
[        ] MSG : Got dependencies!
[  +33 ms] Running "flutter pub get" in stable_flutter... (completed in 0.5s)
[ +170 ms] Generating /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +25 ms] ro.hardware = ranchu
[  +11 ms] Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +20 ms] Starting incremental build...
[   +2 ms] Initializing file store
[  +12 ms] Skipping target: gen_localizations
[   +9 ms] complete
[   +4 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[   +5 ms] /Users/tahatesser/Code/flutter_stable/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill /var/folders/37/jzy2jdc16sb3p89cn_6g967c0000gn/T/flutter_tools.UAJKym/flutter_tool.WLmUQq/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[  +13 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +24 ms] Exit code 0 from: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           01-18 18:55:29.915 E/GnssHAL_GnssInterface( 1800): gnssSvStatusCb: b: input svInfo.flags is 8
[   +1 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +18 ms] Exit code 0 from: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           01-18 18:55:29.915 E/GnssHAL_GnssInterface( 1800): gnssSvStatusCb: b: input svInfo.flags is 8
[  +14 ms] <- compile package:triage/main.dart
[  +11 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb version
[  +75 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as /Volumes/Extreme/SDK/platform-tools/adb
[   +2 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb start-server
[  +12 ms] Building APK
[  +13 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] set `android.enableR8=true` in gradle.properties
[   +4 ms] /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/gradle_wrapper/gradle/wrapper/gradle-wrapper.jar mode: 33188 rw-r--r--.
[   +1 ms] /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/gradle_wrapper/gradlew mode: 33261 rwxr-xr-x.
[        ] /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/gradlew mode: 33188 rw-r--r--.
[        ] Trying to give execute permission to /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/gradlew.
[  +11 ms] /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/gradle_wrapper/gradlew.bat mode: 33188 rw-r--r--.
[   +1 ms] Using gradle from /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/gradlew.
[        ] /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/gradlew mode: 33261 rwxr-xr-x.
[   +9 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +14 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.1","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.vendor.name":"Google","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>53283","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>53283. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[   +2 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +200 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +1 ms] executing: [/Users/tahatesser/AndroidStudioProjects/stable_flutter/android/] /Users/tahatesser/AndroidStudioProjects/stable_flutter/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/Users/tahatesser/AndroidStudioProjects/stable_flutter/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+5330 ms] > Task :app:compileFlutterBuildDebug
[        ] [ +128 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +44 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ]<PHONE_NUMBER>7c3a836feee883712c241a5fd22983
[        ] [        ] executing: [/Users/tahatesser/Code/flutter_stable/] git tag --points-at HEAD
[        ] [  +25 ms] Exit code 0 from: git tag --points-at HEAD
[        ] [        ] 1.22.5
[        ] [   +8 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/Users/tahatesser/Code/flutter_stable/] git ls-remote --get-url origin
[        ] [  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +46 ms] executing: [/Users/tahatesser/Code/flutter_stable/] git rev-parse --abbrev-ref HEAD
[        ] [  +22 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [   +1 ms] stable
[        ] [  +44 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +11 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [  +87 ms] Initializing file store
[        ] [  +16 ms] Skipping target: gen_localizations
[        ] [   +7 ms] kernel_snapshot: Starting due to {}
[   +1 ms] [  +25 ms] /Users/tahatesser/Code/flutter_stable/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/tahatesser/Code/flutter_stable/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages /Users/tahatesser/AndroidStudioProjects/stable_flutter/.packages --output-dill /Users/tahatesser/AndroidStudioProjects/stable_flutter/.dart_tool/flutter_build/ba75fc4e7415ca7af8f7068beddea332/app.dill --depfile /Users/tahatesser/AndroidStudioProjects/stable_flutter/.dart_tool/flutter_build/ba75fc4e7415ca7af8f7068beddea332/kernel_snapshot.d package:triage/main.dart
[+5870 ms] [+7014 ms] kernel_snapshot: Complete
[ +600 ms] [ +542 ms] debug_android_application: Starting due to {}
[ +199 ms] [ +258 ms] debug_android_application: Complete
[ +600 ms] [ +599 ms] Persisting file store
[ +100 ms] [  +23 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [  +10 ms] "flutter assemble" took 8,624ms.
[        ] [   +3 ms] ensureAnalyticsSent: 0ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +200 ms] > Task :app:packLibsflutterBuildDebug
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:checkDebugManifest
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig
[        ] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugShaders
[        ] > Task :app:compileDebugShaders
[        ] > Task :app:generateDebugAssets
[        ] > Task :app:mergeDebugAssets
[ +293 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug
[        ] > Task :app:generateDebugResValues
[        ] > Task :app:generateDebugResources
[ +502 ms] > Task :app:createDebugCompatibleScreenManifests
[        ] > Task :app:processDebugManifest
[  +99 ms] > Task :app:mergeDebugResources
[ +900 ms] > Task :app:processDebugResources
[+2298 ms] > Task :app:compileDebugKotlin
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:javaPreCompileDebug
[+1107 ms] > Task :app:compileDebugJavaWithJavac
[        ] > Task :app:compileDebugSources
[        ] > Task :app:checkDebugDuplicateClasses
[ +189 ms] > Task :app:transformClassesWithDexBuilderForDebug
[  +98 ms] > Task :app:validateSigningDebug
[        ] > Task :app:signingConfigWriterDebug
[        ] > Task :app:desugarDebugFileDependencies
[        ] > Task :app:mergeDebugJniLibFolders
[ +504 ms] > Task :app:mergeDebugJavaResource
[  +96 ms] > Task :app:mergeExtDexDebug
[ +502 ms] > Task :app:mergeDexDebug
[ +497 ms] > Task :app:mergeDebugNativeLibs
[ +397 ms] > Task :app:stripDebugDebugSymbols
[        ] Compatible side by side NDK version was not found.
[        ] Unable to strip library '/Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libflutter.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
[        ] Unable to strip library '/Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/intermediates/merged_native_libs/debug/out/lib/x86_64/libflutter.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
[+4001 ms] > Task :app:packageDebug
[ +200 ms] > Task :app:assembleDebug
[        ] BUILD SUCCESSFUL in 24s
[        ] 31 actionable tasks: 30 executed, 1 up-to-date
[ +380 ms] Running Gradle task 'assembleDebug'... (completed in 25.3s)
[  +33 ms] calculateSha: LocalDirectory: '/Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/outputs/flutter-apk'/app.apk
[  +24 ms] calculateSha: reading file took 23us
[ +481 ms] calculateSha: computing sha took 480us
[   +4 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +4 ms] executing: /Volumes/Extreme/SDK/build-tools/30.0.3/aapt dump xmltree /Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[ +256 ms] Exit code 0 from: /Volumes/Extreme/SDK/build-tools/30.0.3/aapt dump xmltree /Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1d
               A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
               A: package="com.nevercode.triage" (Raw: "com.nevercode.triage")
               A: platformBuildVersionCode=(type 0x10)0x1d
               A: platformBuildVersionName=(type 0x10)0xa
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="triage" (Raw: "triage")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.nevercode.triage.MainActivity" (Raw: "com.nevercode.triage.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +7 ms] Stopping app 'app.apk' on Android SDK built for x86.
[   +1 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell am force-stop com.nevercode.triage
[ +143 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell pm list packages com.nevercode.triage
[  +54 ms] package:com.nevercode.triage
[   +3 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.nevercode.triage.sha1
[ +193 ms] 0ad2692201bb559e8583852458f1a845c451f2c8
[   +3 ms] Installing APK.
[   +3 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb version
[  +14 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as /Volumes/Extreme/SDK/platform-tools/adb
[   +1 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb start-server
[  +13 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 install -t -r /Users/tahatesser/AndroidStudioProjects/stable_flutter/build/app/outputs/flutter-apk/app.apk
[+4040 ms] Performing Streamed Install
           Success
[   +1 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 4.0s)
[   +5 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell echo -n 2e3a79d767e73d404df800da67cf7a8c5e7564c9 > /data/local/tmp/sky.com.nevercode.triage.sha1
[  +38 ms] Android SDK built for x86 startApp
[   +6 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.nevercode.triage/com.nevercode.triage.MainActivity
[ +255 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.nevercode.triage/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+2414 ms] Observatory URL on device: http://<IP_ADDRESS>:42029/aNDNHlcpAGA=/
[   +2 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:42029
[  +25 ms] 58065
[   +1 ms] Forwarded host port 58065 to device port 42029 for Observatory
[  +15 ms] Caching compiled dill
[ +151 ms] Connecting to service protocol: http://<IP_ADDRESS>:58065/aNDNHlcpAGA=/
[   +7 ms] DDS is currently disabled due to https://github.com/flutter/flutter/issues/62507
[ +559 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:58065/aNDNHlcpAGA=/
[        ] Waiting for Android SDK built for x86 to report its views...
[   +7 ms] Waiting for Android SDK built for x86 to report its views... (completed in 5ms)
[  +11 ms] DevFS: Creating new filesystem on the device (null)
[  +69 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.nevercode.triage/code_cache/stable_flutterXHVIYC/stable_flutter/)
[   +2 ms] Updating assets
[ +139 ms] Syncing files to device Android SDK built for x86...
[   +1 ms] Scanning asset files
[   +3 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:triage/main.dart 65aa0461-9bfc-41f2-b544-9a673fed93b6
[        ] <- 65aa0461-9bfc-41f2-b544-9a673fed93b6
[ +135 ms] D/EGL_emulation(12344): eglMakeCurrent: 0xd7d1a0c0: ver 3 0 (tinfo 0xd7d0f1e0)
[  +13 ms] D/eglCodecCommon(12344): setVertexArrayObject: set vao to 0 (0) 1 0
[ +226 ms] Updating files
[ +249 ms] I/Choreographer(12344): Skipped 100 frames!  The application may be doing too much work on its main thread.
[ +886 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device Android SDK built for x86... (completed in 1,520ms)
[   +2 ms] Synced 1.8MB.
[   +2 ms] <- accept
[   +5 ms] Connected to _flutterView/0xc0b04c10.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:58065/aNDNHlcpAGA=/
[ +418 ms] D/EGL_emulation(12344): eglMakeCurrent: 0xdfeacfa0: ver 3 0 (tinfo 0xd7d0f420)
[  +23 ms] D/eglCodecCommon(12344): setVertexArrayObject: set vao to 0 (0) 1 0
[+22845 ms] I/flutter (12344): ══╡ EXCEPTION CAUGHT BY ANIMATION LIBRARY ╞═════════════════════════════════════════════════════════
[        ] I/flutter (12344): The following NoSuchMethodError was thrown while notifying listeners for AnimationController:
[        ] I/flutter (12344): The getter 'value' was called on null.
[        ] I/flutter (12344): Receiver: null
[        ] I/flutter (12344): Tried calling: value
[        ] I/flutter (12344):
[        ] I/flutter (12344): When the exception was thrown, this was the stack:
[        ] I/flutter (12344): #0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
[        ] I/flutter (12344): #1      TabController.offset (package:flutter/src/material/tab_controller.dart:283:45)
[        ] I/flutter (12344): #2      TabController.offset= (package:flutter/src/material/tab_controller.dart:288:18)
[        ] I/flutter (12344): #3      _TabBarViewState._handleScrollNotification (package:flutter/src/material/tabs.dart:1346:19)
[        ] I/flutter (12344): #4      NotificationListener._dispatch (package:flutter/src/widgets/notification_listener.dart:133:41)
[        ] I/flutter (12344): #5      Notification.visitAncestor (package:flutter/src/widgets/notification_listener.dart:49:20)
[        ] I/flutter (12344): #6      ViewportNotificationMixin.visitAncestor (package:flutter/src/widgets/scroll_notification.dart:33:18)
[        ] I/flutter (12344): #7      Element.visitAncestorElements (package:flutter/src/widgets/framework.dart:4114:39)
[        ] I/flutter (12344): #8      Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:65:13)
[        ] I/flutter (12344): #9      ScrollActivity.dispatchScrollUpdateNotification (package:flutter/src/widgets/scroll_activity.dart:98:92)
[        ] I/flutter (12344): #10     ScrollPosition.didUpdateScrollPositionBy (package:flutter/src/widgets/scroll_position.dart:829:14)
[        ] I/flutter (12344): #11     ScrollPosition.setPixels (package:flutter/src/widgets/scroll_position.dart:266:9)
[        ] I/flutter (12344): #12     ScrollPositionWithSingleContext.setPixels (package:flutter/src/widgets/scroll_position_with_single_context.dart:85:18)
[        ] I/flutter (12344): #13     BallisticScrollActivity.applyMoveTo (package:flutter/src/widgets/scroll_activity.dart:558:21)
[        ] I/flutter (12344): #14     BallisticScrollActivity._tick (package:flutter/src/widgets/scroll_activity.dart:545:10)
[        ] I/flutter (12344): #15     AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:136:19)
[        ] I/flutter (12344): #16     AnimationController._tick (package:flutter/src/animation/animation_controller.dart:797:5)
[        ] I/flutter (12344): #17     Ticker._tick (package:flutter/src/scheduler/ticker.dart:238:12)
[        ] I/flutter (12344): #18     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1117:15)
[        ] I/flutter (12344): #19     SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1031:11)
[        ] I/flutter (12344): #20     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
[        ] I/flutter (12344): #21     SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1029:17)
[        ] I/flutter (12344): #22     SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:963:5)
[        ] I/flutter (12344): #26     _invoke1 (dart:ui/hooks.dart:265:10)
[        ] I/flutter (12344): #27     _beginFrame (dart:ui/hooks.dart:192:3)
[        ] I/flutter (12344): (elided 3 frames from dart:async)
[        ] I/flutter (12344):
[        ] I/flutter (12344): The AnimationController notifying listeners was:
[        ] I/flutter (12344):   AnimationController#2838e(▶ 370.375; for BallisticScrollActivity)
[        ] I/flutter (12344): ════════════════════════════════════════════════════════════════════════════════════════════════════

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (6 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.402, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.402 at /Users/tahatesser/Code/flutter_master
    • Framework revision 2a188eeca3 (10 hours ago), 2021-01-17 19:27:00 -0800
    • Engine revision 609036f2bf
    • Dart version 2.12.0 (build 2.12.0-236.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

I was able to reproduce the issue on stable 3.3 and master 3.7

logs
Could not load custom device from config index 0: Expected enabled to be a boolean.

Launching lib/main.dart on iPhone 12 Pro in debug mode...
Xcode build done.                                           14.7s
Connecting to VM Service at ws://<IP_ADDRESS>:49798/33kO9yCPEJQ=/ws
══╡ EXCEPTION CAUGHT BY ANIMATION LIBRARY ╞═════════════════════════════════════════════════════════
The following _CastError was thrown while notifying listeners for AnimationController:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0      TabController.offset (package:flutter/src/material/tab_controller.dart:255:44)
#1      TabController.offset= (package:flutter/src/material/tab_controller.dart:260:18)
#2      _TabBarViewState._handleScrollNotification (package:flutter/src/material/tabs.dart:1645:20)
#3      _NotificationElement.onNotification (package:flutter/src/widgets/notification_listener.dart:130:38)
#4      _NotificationNode.dispatchNotification (package:flutter/src/widgets/framework.dart:3170:18)
#5      _NotificationNode.dispatchNotification (package:flutter/src/widgets/framework.dart:3173:13)
#6      _NotificationNode.dispatchNotification (package:flutter/src/widgets/framework.dart:3173:13)
#7      Element.dispatchNotification (package:flutter/src/widgets/framework.dart:4534:24)
#8      Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:60:13)
#9      ScrollActivity.dispatchScrollUpdateNotification (package:flutter/src/widgets/scroll_activity.dart:92:92)
#10     ScrollPosition.didUpdateScrollPositionBy (package:flutter/src/widgets/scroll_position.dart:912:15)
#11     ScrollPosition.setPixels (package:flutter/src/widgets/scroll_position.dart:282:9)
#12     ScrollPositionWithSingleContext.setPixels (package:flutter/src/widgets/scroll_position_with_single_context.dart:78:18)
#13     BallisticScrollActivity.applyMoveTo (package:flutter/src/widgets/scroll_activity.dart:570:21)
#14     BallisticScrollActivity._tick (package:flutter/src/widgets/scroll_activity.dart:556:10)
#15     AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:161:19)
#16     AnimationController._tick (package:flutter/src/animation/animation_controller.dart:837:5)
#17     Ticker._tick (package:flutter/src/scheduler/ticker.dart:249:12)
#18     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#19     SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1140:11)
#20     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:625:13)
#21     SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1138:17)
#22     SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:1055:5)
#23     _invoke1 (dart:ui/hooks.dart:164:13)
#24     PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:316:5)
#25     _beginFrame (dart:ui/hooks.dart:101:31)

The AnimationController notifying listeners was:
  AnimationController#5c9d1(▶ 2.663; for BallisticScrollActivity)
════════════════════════════════════════════════════════════════════════════════════════════════════

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-3.0.pre.33, on macOS 12.6 21G115 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-3.0.pre.33 on channel master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (38 minutes ago), 2022-12-05 18:27:21 -0800
    • Engine revision a309d239c4
    • Dart version 2.19.0 (build 2.19.0-463.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly
      to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.55.20221129

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.94

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


Uncaught Error: Cannot read property 'isFullScreen' of undefined

After running Atom for some hours, suddenly I see all the time this error message.
Atom Version: 1.8.0-beta3
System: "Fedora release
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot read property 'isFullScreen' of undefined
TypeError: Cannot read property 'isFullScreen' of undefined
at EventEmitter. (/usr/local/share/atom-beta/resources/atom.asar/browser/lib/rpc-server.js:295:35)
at emitMany (events.js:108:13)
at EventEmitter.emit (events.js:182:7)
at EventEmitter. (/usr/local/share/atom-beta/resources/atom.asar/browser/api/lib/web-contents.js:133:25)
at emitTwo (events.js:87:13)
at EventEmitter.emit (events.js:172:7)
At /usr/local/share/atom-beta/resources/atom.asar/renderer/api/lib/remote.js:113

Error: Cannot read property 'isFullScreen' of undefined
TypeError: Cannot read property 'isFullScreen' of undefined
    at EventEmitter.<anonymous> (/usr/local/share/atom-beta/resources/atom.asar/browser/lib/rpc-server.js:295:35)
    at emitMany (events.js:108:13)
    at EventEmitter.emit (events.js:182:7)
    at EventEmitter.<anonymous> (/usr/local/share/atom-beta/resources/atom.asar/browser/api/lib/web-contents.js:133:25)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)
    at metaToValue (/usr/local/share/atom-beta/resources/atom.asar/renderer/api/lib/remote.js:113:13)
    at BrowserWindow.RemoteMemberFunction [as isFullScreen] (/usr/local/share/atom-beta/resources/atom.asar/renderer/api/lib/remote.js:204:16)
    at ApplicationDelegate.module.exports.ApplicationDelegate.isWindowFullScreen (/usr/local/share/atom-beta/resources/app.asar/src/application-delegate.js:103:40)
    at AtomEnvironment.module.exports.AtomEnvironment.isFullScreen (/usr/local/share/atom-beta/resources/app.asar/src/atom-environment.js:588:39)
    at AtomEnvironment.module.exports.AtomEnvironment.serialize (/usr/local/share/atom-beta/resources/app.asar/src/atom-environment.js:775:26)
    at /usr/local/share/atom-beta/resources/app.asar/src/atom-environment.js:984:27

Config
{
  "core": {
    "autoHideMenuBar": true,
    "disabledPackages": [
      "rti-linter-code",
      "latex",
      "vim-mode",
      "linter-python-pep8",
      "nav-panel",
      "symbols-plus",
      "you-complete-me",
      "rainbow-tabs",
      "symbol-gen",
      "term3",
      "java-importer"
    ],
    "packagesWithKeymapsDisabled": [],
    "themes": [
      "genesis-ui",
      "genesis-syntax"
    ]
  },
  "editor": {
    "backUpBeforeSaving": true,
    "fontSize": 13,
    "invisibles": {},
    "showIndentGuide": true,
    "showInvisibles": true,
    "softWrap": true,
    "softWrapAtPreferredLineLength": true,
    "tabLength": 4,
    "tabType": "soft"
  }
}

Installed Packages
# User
activate-power-mode, v0.5.2
atom-cscope, v0.14.1
atom-gmail-checker, v0.12.1
autocomplete-clang, v0.9.3
autocomplete-python, v1.7.2
autocomplete-xml, v0.8.3
browser-plus, v0.0.60
docblockr, v0.7.3
file-icons, v1.7.11
genesis-syntax, v1.0.7
genesis-ui, v0.5.0
git-diff-details, v1.3.0
git-log, v0.4.1
highlight-selected, v0.11.2
hyperclick, v0.0.36
language-ada, v1.1.0
language-latex, v0.6.1
linter, v1.11.4
linter-alex, v2.0.0
linter-chktex, v1.3.0
linter-clang, v3.4.4
linter-javac, v1.9.1
linter-pep8, v1.3.0
linter-xmllint, v1.3.4
merge-conflicts, v1.4.2
minimap, v4.23.5
minimap-bookmarks, v0.3.1
minimap-cursorline, v0.1.0
minimap-find-and-replace, v4.5.1
minimap-git-diff, v4.3.1
minimap-highlight-selected, v4.4.0
minimap-linter, v1.1.1
minimap-selection, v4.4.0
package-cop, v0.2.10
package-sync, v1.1.0
pdf-view, v0.50.0
python-indent, v0.4.3
symbols-tree-view, v0.12.0
tool-bar, v0.4.0
tool-bar-almighty, v0.6.1

# Dev
autocomplete-xml, v0.8.3

In case it helps, I am trying now to use the Full Screen mode but I can't, it doesn't work (I tried because it seems it's related but I wasn't using it when the error started to happen).

This seems related to #11692, so I'm going to close this in favor of that one.