You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to call the camelCase function inside post_gen hook function to do some post-generation processing.
I knew it can be implemented myself, but I would like to know if there is a way to call these functions inside post_gen so I can make sure the results will be consistent and exactly same.
I didn't find it in the documentation or I missed it. If anyone could suggest way to get the same result as the lamda function in template/brick, I would really appreciate.
The text was updated successfully, but these errors were encountered:
theideasaler
changed the title
Question: way to call Lamda name functions inside post_gen hook function w.g. camelCase, piscalCase
Question: way to call Lamda name functions inside post_gen hook function e.g. camelCase, piscalCase
Dec 5, 2022
For now I'd recommend adding package:recase as a dependency in the pubspec.yaml of your hooks but I'll consider exporting the lambas from package:mason so you don't need to add a separate dependency. Sorry for any inconvenience!
Description
I would like to call the
camelCase
function insidepost_gen
hook function to do some post-generation processing.I knew it can be implemented myself, but I would like to know if there is a way to call these functions inside
post_gen
so I can make sure the results will be consistent and exactly same.I didn't find it in the documentation or I missed it. If anyone could suggest way to get the same result as the lamda function in template/brick, I would really appreciate.
The text was updated successfully, but these errors were encountered: