rknell / flutterEnumsToString

Better conversion of ENUMs to string for Flutter / Dart
Other
85 stars 23 forks source link

Add useful indexOf() method #14

Closed annorax closed 4 years ago

rknell commented 4 years ago

Hello,

Happy to add the indexOf method, but before I can merge it in can you please ensure it passes the Travis checks?

annorax commented 4 years ago

Hello,

Happy to add the indexOf method, but before I can merge it in can you please ensure it passes the Travis checks?

There was a bug, which I fixed, and added a test, but now it's still failing dues to some formatting problem, which I can't figure out. I am unfamiliar with this check.

rknell commented 4 years ago

Sure, if you run dartfmt . in the root of the project it will ensure the files whitespace etc are formatted correctly. This is in place to ensure merging is easy if someone else is working on a pull request - and also to ensure the next person doesn't do a dart format and we can see exactly what they changed.

The docs for dartfmt are here (https://dart.dev/tools/dartfmt), or let me know if you are still stuck