A dart package with handy utilities
- First letter capitalization with titleCase utility.
In the dependencies:
section of your pubspec.yaml
, add the following line:
dart_utils: <latest_version>
- Import the package
import 'package:dart_utils/dart_utils.dart';
- Capitalize any string
String title = "Here is a sample title";
print(titleCase(title));
// Here Is A Sample Title
Contribution and suggestions are welcome. Report any issues here