flutterassetsgenerator's People
Forkers
cuixingrui zhouaijia lqxue crazy-mt bugsir kientrung0412 jackyshan hitools nolbertj eitanliu zhangkuo0216 lijoeallen funyin gnassroflutterassetsgenerator's Issues
修改 output_dir、output_filename、class_name后 Assets 不显示缩略图标
【Feedback】意见反馈
有任何意见建议,可以在这里提,我会尽量满足
Any comments and suggestions can be made here, I will try my best to meet
Android Studio Chipmunk 2021.2.1 This Project is not a Flutter Project
执行的时候可以用命令行吗?
如题,
a
- b
- assert
如上,我的项目结构,android studio打开的是A目录,但我的资源是在子目录B下,我直接点build执行生成命令的时候会提示Please configure your assets path in pubspec.yaml ,希望大佬可以提供一个命令行执行的方式,或者可以解决这个问题的办法,(每次生成都要重新打开子目录确实有点麻烦。)
- assert
[建议]文件名映射规则
希望可以支持文件名多种格式转为驼峰命名规则如:
apple-banana.jpg
apple_banana.jpg
AppleBanana等
plugin useless when developing flutter package
when developing flutter package and trying to use assets with this package, it will give the error of Unable to load asset:
, because to load asset when working on package the asset path must be leading with 'packages/<package_name>/'
.
in this case FlutterAssetsGenerator
will be useless when working on flutter package project
未显示资源左侧的icon 在 Android Studio Electric Eel | 2022.1.1
针对spine动画文件支持
Strip diacritics /accent string
Remove diactrics if file has diactric name so the variable doesn't have diactrics.
Something like:
https://stackoverflow.com/questions/51731574/removing-accents-and-diacritics-in-kotlin
can't change generated file path
flutter_assets_generator:
Optional. Sets the directory of generated localization files. The provided value should be a valid path on lib dir. Default: generated
output_dir: lib/core/app_constants
I tried this but it always gives me :
Schema validation: Property 'output_dir' is not allowed
also, i tried to change it from the tools but it won't accept sub-folder
Git issues - pubspec.yaml is locked
- When this plugin is enabled unable to do a git pull or merge requests.
- I need to disable the plugin when making any git request.
problem with variable names
[Future]希望添加一个配置信息,确定pubspec.yaml以及项目位置
- 根目录
-- 所有项目依赖的core
-- 相同项目下
--- 司机端A项目
--- 乘客端B项目
--- xxx端C项目
能够配置 pubspec.yaml 以及对应的项目路径。
pubspec.yaml中没写的目录下的文件可以不生成么
pubspec.yaml中没写的目录下的文件可以不生成么,只先了一个目录,比如assets/images,但把assets/和assets/fonts下的文件全部都生成了
[Feature Request] Separate and create existing dart file.
The current plugin offers a similar function through the named_with_parent option, but I find it somewhat lacking. In my opinion, it would be good to provide a feature that allows for the specification of a certain path and filename, and then generates it as a separate dart file.
path: /assets/fonts/a_font
name: a_font
=> a_fonts.dart
path: /assets/fonts/b_font
name: b_font
=> b_fonts.dart
path: /assets/images
name: images
=> images.dart
希望添加对 Android Studio 2021.1.1 支持
当assets多于一个时,生成的资源文件出错
我的pubspec.yaml文件中assets配置如下:
结果生成的.dart如下:
正常来说
static const String ic_album_art = 'assets-b/logo/ic_album_art.png';
static const String ic_background = 'assets-b/background/ic_background.png';
应该是
static const String ic_album_art = 'assets-a/logo/ic_album_art.png';
static const String ic_background = 'assets-a/background/ic_background.png';
请帮忙改正.
This is just improvment Not an issue
Please add a field where user can change the generated variable name to their own code style LIKE (camel case, lower camel case etc) & also separate each folder assets (icons or images etc) with a comment.
Please configure your assets path in pubspec.yaml
发生问题的设备信息:
Mac m2 pro ,arm64 CPU :
Android Studio version 2022.2.1 Patch 2
感觉像是没有适配arm64?
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.