flutter_gen
flutter_gen copied to clipboard
[FR]: Add ignore property to options file
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the problem
We are using mason to generate template of packages to out app and put .gitkeep to assets folder.
In generated asset file we see:
static const String gitkeep = 'assets/.gitkeep';
Describe the solution
It will be nice if will be option to ignore files:
ignore:
- "**/.gitkeep"
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Same FR,when I use number as directory, fluttergen get error
Or, support number directory?
AnyUpdates?
Use excludes under the flutter_gen > assets. See https://github.com/FlutterGen/flutter_gen/blob/main/README.md#excluding-generating-for-assets.