Mao Yufeng
Mao Yufeng
>But I am not sure if path works when package_parameter_enabled: true is set. It works. Please see here: https://github.com/FlutterGen/flutter_gen/blob/05e307b298316c2b93634902e520b435ed2e1db5/example/lib/main.dart#L43 We change to `Image.asset` constructor because it supports more optional parameters....
Thanks for your PR! We are currently preparing for the 2.x.x release and refactoring the README. We will consider this use case. 🙂
You can specify the yaml file via: ``` fluttergen -c path/to/your/yaml/flie.yaml ```
@zs-dima What's your use case here? Can you give some examples?
>Would it be alright to use TickerMode directly instead of adding something new? Sounds good! I hadn't noticed TickerMode was used in Overlay and other widgets before searching the flutter...
Seems like a flutter issue. Follow this comment maybe resolve the problem: https://github.com/flutter/flutter/issues/69034#issuecomment-719505458
Hi @yjbanov >But more generally, if the videos are different (e.g. they have different length), it may break down. Maybe this is impossible because we need to specify the video...
This is impossible in the current dart. You need to take a trade-off between DX and performance. 🥲
Please show your config. The generated code should looks like this: https://github.com/FlutterGen/flutter_gen/blob/main/packages/core/test_resources/actual_data/assets_camel_case.gen.dart Sorry, I'm not familiar with other packages.
@Hadeel-Masoud Can you try ```dart flutter_gen: assets: outputs: style: camel-case ```