Answers for "how ro set first character of string capital in flutter"

0

flutter to capital letter

'alphabet'.toUpperCase(); // 'ALPHABET'
'ABC'.toUpperCase();      // 'ABC'
Posted by: Guest on October-16-2020
-1

first letter capital flutter

extension CapExtension on String {
  String get inCaps => '${this[0].toUpperCase()}${this.substring(1)}';
  String get allInCaps => this.toUpperCase();
  String get capitalizeFirstofEach => this.split(" ").map((str) => str.capitalize).join(" ");
}
Posted by: Guest on March-22-2021

Code answers related to "how ro set first character of string capital in flutter"

Code answers related to "Swift"

Browse Popular Code Answers by Language