mirrored_repositories/nutri.gram/nutrigram_app/lib/common
extension NutriStringExtensions on String {
  String allWordsCapitilize() {
    String result = this[0].toUpperCase();
    for (int i = 1; i < length; i++) {
      if (this[i - 1] == " ") {
        result = result + this[i].toUpperCase();
      } else {
        result = result + this[i];
      }
    }
    return result;
  }
}
