string_capitalize 0.0.1 string_capitalize: ^0.0.1 copied to clipboard
Simple extension for Dart language to capitalize our strings
example/string_capitalize_example.dart
import 'dart:io';
import 'package:string_capitalize/string_capitalize.dart';
void main() {
print('Type your name?');
final name = stdin.readLineSync() ?? '';
print(name.capitalizeOrFail());
}