singular_plural 0.9.0
singular_plural: ^0.9.0 copied to clipboard
A Dart package for converting English words between singular and plural forms
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add singular_pluralWith Flutter:
$ flutter pub add singular_pluralThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
singular_plural: ^0.9.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:singular_plural/singular_plural.dart';