Доктор флаттера:
[√] Flutter (Channel master, v1.14.7-pre.24, on Microsoft Windows [versão 10.0.18363.592], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including the following components:
MSBuild
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
Windows 10 SDK (10.0.17763.0)
[√] Android Studio (version 3.5)
[√] VS Code (version 1.41.1)
[√] Connected device (3 available)
У меня есть два объекта бликов, объявленных в pubspe c .yalm:
flutter:
uses-material-design: true
assets:
- assets/ericodigosSplash.gif
- assets/ic_launcher.png
- assets/flares/interruptorCircadiano.flr
- assets/flares/space_vaporwave.flr
Я уже попробовал flare_flutter: ^2.0.1
и smart_flare
зависимости, ни одна не работает на встроенном apk.
Я тестирую на двух разных android устройствах. Файлы flr (rive) отображаются только на эмуляторе.
https://github.com/ericodex/ericodigos