I think having this call in the iconNameTransformer call is too opinionated, especially since not every set of icons exactly follow the Java file name convention, e.g. "icon_name_with_underscores".
This allows doing the transform more in the user-provided lambda. Otherwise, it can default to use toKotlinPropertyName.
I think having this call in the
iconNameTransformer
call is too opinionated, especially since not every set of icons exactly follow the Java file name convention, e.g. "icon_name_with_underscores".This allows doing the transform more in the user-provided lambda. Otherwise, it can default to use
toKotlinPropertyName
.