String capitalizeFirstofEach({required String text}) => text .split(" ") .map((str) => (str != "") ? str[0].toUpperCase() + str.substring(1) : "") .join(" ");