change_case 2.1.0 copy "change_case: ^2.1.0" to clipboard
change_case: ^2.1.0 copied to clipboard

An extension on String for the missing methods for camelCase, PascalCase, Capital Case, snake_case, param-case, CONSTANT_CASE and others.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add change_case

With Flutter:

 $ flutter pub add change_case

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  change_case: ^2.1.0

Alternatively, 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:change_case/change_case.dart';
52
likes
160
points
62.2k
downloads

Publisher

verified publishermrgnhnt.com

Weekly Downloads

An extension on String for the missing methods for camelCase, PascalCase, Capital Case, snake_case, param-case, CONSTANT_CASE and others.

Repository (GitHub)
View/report issues

Topics

#formatting #case #casing #camelcase #snakecase

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on change_case