theeomm / dart-utils

A package with handy dart utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dart_utils

A dart package with handy utilities

Features

  • First letter capitalization with titleCase utility.

Installation

In the dependencies: section of your pubspec.yaml, add the following line:

dart_utils: <latest_version>

Usage

  • 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

Contributions

Contribution and suggestions are welcome. Report any issues here

About

A package with handy dart utilities