Viewing version 1.0.0. Open the latest package page.

recase

1.0.0

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

Download archive

Readme

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
Changelog

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'recase:1.0.0'
pubspec.yaml
name: recase
description: Changes the case of the input text to the desire case convention.
author: Keith Elliott <keith.b.elliott@gmail.com>
homepage: https://github.com/nitehogg/recase
version: 1.0.0
environment:
  sdk: '>=1.20.0'
dev_dependencies:
  test: '^0.12.18'

Version history

VersionPublishedArchiveSHA-256
1.0.0Cached · Upstream SHA-256 matchedDownload49e4b871…a8bbe9
1.0.0+1Cached · Upstream SHA-256 matchedDownloadc12adff6…d84279
2.0.0Cached · Upstream SHA-256 matchedDownloada46ab753…6a7797
2.0.0+1Cached · Upstream SHA-256 matchedDownload30944783…434ed3
2.0.1Cached · Upstream SHA-256 matchedDownload71a9e299…9b43a7
3.0.0Cached · Upstream SHA-256 matchedDownload94294b9b…3aae4f
3.0.1Cached · Upstream SHA-256 matchedDownloadd18e5f9c…590586
4.0.0-nullsafety.0Cached · Upstream SHA-256 matchedDownload5f4694bb…bc1304
4.0.0Cached · Upstream SHA-256 matchedDownload7aec9b9f…fc6ca5
4.1.0Cached · Upstream SHA-256 matchedDownloade4eb4ec2…f89213

Dependencies

No direct dependencies declared.