string_case_converter 1.0.0 copy "string_case_converter: ^1.0.0" to clipboard
string_case_converter: ^1.0.0 copied to clipboard

A lightweight extension library for transforming string cases

example/main.dart

import 'package:string_case_converter/string_case_converter.dart';

void main() {
  print('hello there'.toCamelCase()); // helloThere

  print('hello there'.toPascalCase()); // HelloThere

  print('hello there'.toKebabCase()); // hello-there

  print('hello!@£(^)^%*&%^%^% there'.toSnakeCase()); // hello_there

  print('hello there'.toConstantCase()); //  HELLO_THERE
}
0
likes
140
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight extension library for transforming string cases

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on string_case_converter