To uppercase first letter of the word

Install

Dart

dart pub add string_capitalize

Flutter

flutter pub add string_capitalize

Methods

String

  • capitalize transform the first letter of the one String to uppercase;

  • capitalizeEach transform the first letter of each word from the String to uppercase.

List

  • capitalize - transform the first letter of each item to uppercase.

Libraries

string_capitalize