Repository navigation
Replacing TabController mid-animation throws exception #34744
Description
Activity
- addedc: regressionIt was better in the past than it is nowIt was better in the past than it is nowframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packages
on Jun 19, 2019 - changed the title
[-]Replacing TabController for dynamic tab updates throws exception[/-][+]Replacing TabController mid-animation throws exception[/+]on Jun 19, 2019 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
TabBarandTabBarView.Hi @shihaohong
Testing your code on latestdevchannel, 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 youflutter doctor -v
[✓] Flutter (Channel dev, v1.18.0-8.0.pre, on Mac OS X 10.15.4 19E287, locale en-GB) • Flutter version 1.18.0-8.0.pre at /Users/taha/Code/flutter_dev • Framework revision e0c63cd35e (6 days ago), 2020-04-23 22:29:01 -0400 • Engine revision d2ec21221e • Dart version 2.9.0 (build 2.9.0-3.0.dev b0d35855d8) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at /Users/taha/Code/sdk • Platform android-29, build-tools 29.0.3 • ANDROID_HOME = /Users/taha/Code/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.4.1, Build version 11E503a • CocoaPods version 1.9.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] VS Code (version 1.44.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.9.1 [✓] Connected device (5 available) • SM M305F • 32003c30dc19668f • android-arm64 • Android 10 (API 29) • Taha’s iPhone • 00008020-001059882212002E • ios • iOS 13.4.1 • macOS • macOS • darwin-x64 • Mac OS X 10.15.4 19E287 • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 81.0.4044.129 • No issues found!- addedwaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
on Apr 30, 2020 I just tested this and I was still able to reproduce the problem on
master.Reacted by Taha Tesser- removedwaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
on Apr 30, 2020 - addedfound in release: 1.18Occurs in 1.18Occurs in 1.18has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onf: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.
on May 4, 2020 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 [ ] 78910062997c3a836feee883712c241a5fd22983 [ +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.8743.12.41.6953283","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.8743.12.41.6953283. 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 [ ] [ ] 78910062997c3a836feee883712c241a5fd22983 [ ] [ ] 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://127.0.0.1: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://127.0.0.1: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://127.0.0.1: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://127.0.0.1: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 7891006299 (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!8 remaining items
- addedfound in release: 3.7Found to occur in 3.7Found to occur in 3.7found in release: 3.3Found to occur in 3.3Found to occur in 3.3a: null-safetySupport for Dart's null safety featureSupport for Dart's null safety feature
on Dec 8, 2022 - addedP2Important issues not at the top of the work listImportant issues not at the top of the work list
on Mar 21, 2023 - addedteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
on Jul 8, 2023 Fixed by #123442
Reacted by Taha Tesser- addedr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
on Jul 7, 2025 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Jul 21, 2025
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.
Logs