You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building AnimatedTheme(duration: 200ms, dirty, state: _AnimatedThemeState#dd243(ticker active, ThemeDataTween(ThemeData#1ae13 → ThemeData#87eb2))):
'package:flutter/src/painting/text_style.dart': Failed assertion: line 1047 pos 12: 'a == null || b == null || a.inherit == b.inherit': is not true.
package:flutter/…/painting/text_style.dart:1047
2
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=2_bug.md
The relevant error-causing widget was
MaterialApp
lib/main.dart:42
When the exception was thrown, this was the stack
#2 TextStyle.lerp
package:flutter/…/painting/text_style.dart:1047
#3 TextTheme.lerp
package:flutter/…/material/text_theme.dart:615
#4 Typography.lerp
package:flutter/…/material/typography.dart:317
#5 ThemeData.lerp
package:flutter/…/material/theme_data.dart:2068
#6 ThemeDataTween.lerp
package:flutter/…/material/theme.dart:176
#7 Tween.transform
package:flutter/…/animation/tween.dart:327
#8 Animatable.evaluate
package:flutter/…/animation/tween.dart:53
#9 _AnimatedThemeState.build
package:flutter/…/material/theme.dart:232
#10 StatefulElement.build
package:flutter/…/widgets/framework.dart:4919
#11 ComponentElement.performRebuild
package:flutter/…/widgets/framework.dart:4806
#12 StatefulElement.performRebuild
package:flutter/…/widgets/framework.dart:4977
#13 Element.rebuild
package:flutter/…/widgets/framework.dart:4529
#14 BuildOwner.buildScope
package:flutter/…/widgets/framework.dart:2659
#15 WidgetsBinding.drawFrame
package:flutter/…/widgets/binding.dart:891
#16 RendererBinding._handlePersistentFrameCallback
package:flutter/…/rendering/binding.dart:370
#17 SchedulerBinding._invokeFrameCallback
package:flutter/…/scheduler/binding.dart:1146
#18 SchedulerBinding.handleDrawFrame
package:flutter/…/scheduler/binding.dart:1083
#19 SchedulerBinding._handleDrawFrame
package:flutter/…/scheduler/binding.dart:997
#23 _invoke (dart:ui/hooks.dart:151:10)
#24 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:308:5)
#25 _drawFrame (dart:ui/hooks.dart:115:31)
(elided 5 frames from class _AssertionError and dart:async)
════════════════════════════════════════════════════════════════════════════════
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale en-ID)
• Flutter version 3.0.5 at /Users/s21/Documents/GitHub/flutter/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f1875d570e (2 weeks ago), 2022-07-13 11:24:16 -0700
• Engine revision e85ea0e79c
• Dart version 2.17.6
• DevTools version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/s21/Library/Android/sdk
• Platform android-33, build-tools 31.0.0
• 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 13.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] 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)
[✓] VS Code (version 1.69.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.44.0
[✓] Connected device (4 available)
• SM G991B (mobile) • RRCR2003SSA • android-arm64 • Android 12 (API 31)
• Andree’s iPhone (mobile) • 00008030-000314393443802E • ios • iOS 15.6 19G71
• macOS (desktop) • macos • darwin-arm64 • macOS 12.4 21F79 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 103.0.5060.134
! Error: Andree’s iPhone is busy: Fetching debug symbols for Andree’s iPhone. Xcode will continue when Andree’s iPhone is finished. (code -10)
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
The text was updated successfully, but these errors were encountered:
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 -v and a minimal reproduction of the issue.
Steps to Reproduce
Expected results: No error
Actual results: TextStyle.lerp throw assertion error
Code sample
Logs
The text was updated successfully, but these errors were encountered: