-
Notifications
You must be signed in to change notification settings - Fork 28k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run flutter_markdown example #6147
Comments
Thanks for the report! We added this assert to catch bugs and it looks like the markdown example has an instance of this bug. /cc @Hixie |
also cc @HansMuller who added this assert. My guess is that to fix this we just have to move the call to _buildMarkdownCache from initState to dependenciesChanged in this file: |
See also: #6166 |
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 |
Steps to Reproduce
Run
flutter run -v
with flutter_markdown example (Nexus 7 (2013) Android 4.4.4)https://github.com/flutter/flutter/blob/master/packages/flutter_markdown/example/demo.dart
It will show error
Flutter Doctor
[✓] Flutter (on Mac OS, channel unknown)
• Flutter at /usr/local/flutter/flutter
• Framework revision 8a82332 (17 hours ago), 2016-09-29 08:59:43
• Engine revision 3551e7a
• Tools Dart version 1.20.0-dev.5.0
[✓] Android toolchain - develop for Android devices (Android SDK 24.0.2)
• Android SDK at /Users/jimmy/Library/Android/sdk
• Platform android-24, build-tools 24.0.2
• Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
[✓] iOS toolchain - develop for iOS devices (Xcode 8.0)
• XCode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.0, Build version 8A218a
[✓] Atom - a lightweight development environment for Flutter
• flutter plugin version 0.2.5
• dartlang plugin version 0.6.39
[✓] Connected devices
• Nexus 7 • 0874da9c • android-arm
Logs and Crash Reports
The text was updated successfully, but these errors were encountered: