flutterEnumsToString icon indicating copy to clipboard operation
flutterEnumsToString copied to clipboard

converToString with camel case does not capitalize 2nd word

Open stiggy87 opened this issue 4 years ago • 1 comments

I started to notice in my enums, when I try to use this package with camelCase, it doesn't capitalize the 2nd word. This is annoying, and the documentation says it does.

enum Test { test, testOne, testTwo, testThree }
for (var item in Test.values)
    ListTile(title: Text(EnumToString.convertToString(item, camelCase: true)),
),

Prints out: image

stiggy87 avatar Oct 10 '21 20:10 stiggy87

Hi @stiggy87 I saw that you are using forms engine like flutter_auto_form Could give a try to reactive_forms(https://github.com/joanpablo/reactive_forms) + reacitve_forms_generator(https://github.com/artflutter/reactive_forms_generator)?

We also have a ton of ready to use widgets - https://github.com/artflutter/reactive_forms_widgets

vasilich6107 avatar Nov 29 '21 14:11 vasilich6107