recase 2.0.0 copy "recase: ^2.0.0" to clipboard
recase: ^2.0.0 copied to clipboard

outdated

Changes the case of the input text to the desire case convention.

ReCase #

Changes the case of the input text to the desire case convention.

import 'package:recase/recase.dart';

void main() {
  ReCase rc = new ReCase('Just_someSample-text');

  print(rc.camelCase); // Prints 'justSomeSampleText'
  print(rc.constantCase); // Prints 'JUST_SOME_SAMPLE_TEXT'
}

Supports:

  • snake_case
  • dot.case
  • path/case
  • param-case
  • PascalCase
  • Header-Case
  • Title Case
  • camelCase
  • Sentence case
  • CONSTANT_CASE
319
likes
0
pub points
98%
popularity

Publisher

unverified uploader

Changes the case of the input text to the desire case convention.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on recase