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

Applies recase to String, as an extension.

ReCase String Extension #

Adds ReCase methods to String. Eventually this extension will be merged into ReCase codebase. At the moment the merge is being avoided as to not force dependents to upgrade to Dart 2.6.0

Usage

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

import 'package:recase_string_extension/recase.dart';

void main() {
  print('Just_someSample-text'.camelCase); // Prints 'justSomeSampleText'
  print('Just_someSample-text'.constantCase); // Prints 'JUST_SOME_SAMPLE_TEXT'
}

Supports all the same case conventions as ReCase.

0
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Applies recase to String, as an extension.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

recase

More

Packages that depend on recase_string_extension