recase_string_extension 1.0.0

Dart native js
Flutter Android iOS web

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.