Comments (5)
感谢反馈。但需要进一步的信息以定位你说的问题。
- 此Repo已经迁移到新的Repo了: https://github.com/Fly-Mix/flr-cli
- 你现在使用的是上述新Repo的 flr-cli 版本吗?
- 如果是上述新Repo的 flr-cli 版本,麻烦提供一下你所使用的版本号?
- 你也可以直接升级到 flr-cli 最新版本,看是否能解决你当前的问题
- 如果 flr-cli 最新版本不能解决你的问题,希望你能提供一下demo过来帮忙改善,谢谢
from flr.
感谢反馈。但需要进一步的信息以定位你说的问题。
- 此Repo已经迁移到新的Repo了: https://github.com/Fly-Mix/flr-cli
- 你现在使用的是上述新Repo的 flr-cli 版本吗?
- 如果是上述新Repo的 flr-cli 版本,麻烦提供一下你所使用的版本号?
- 你也可以直接升级到 flr-cli 最新版本,看是否能解决你当前的问题
- 如果 flr-cli 最新版本不能解决你的问题,希望你能提供一下demo过来帮忙改善,谢谢
感谢回复,写了个复现Demo,App工程依赖Module项目会出现
flutter_app_test.zip
core_version: 3.1.0
from flr.
好的。感谢你的demo。
from flr.
@xlyasdasd 有些上下文我们需要对齐一下。
按照Flutter官方的设定,Flutter共有四种工程类型,然后不同工程类型应用不同业务场景,具体如下:
- app:Flutter App工程,用于开发纯Flutter的App
- module:Flutter Component工程,用于开发Flutter组件以嵌入iOS和Android原生工程
- package:General Dart Package工程,用于开发一个供应用层开发者使用的包
- plugin:Plugin Package工程(属于特殊的Dart Package工程),用于开发一个调用特定平台API的包
针对这样的设定,Flr在对资源做处理时,只对工程类型为package
和plugin
的工程的资源指定packageName
,即为其生成代码:
final test_png_variant_1 = const AssetResource(
"assets/images/test_asset_variants/test_png_variant_1.png",
packageName: R.package);
目前你的主工程师需要依赖一个子package,这时应当遵守Flutter官方的设定,去建立一个package
类型的子工程,而不是一个module
类型的子工程。
如果你需要研究不同工程类型的Demo,可使用我们提供的以下Demo:
from flr.
以下
好的,谢谢
from flr.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flr.