Viewing version 2.0.1. Open the latest package page.
recase
2.0.1Changes the case of the input text to the desire case convention.
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:2.0.1'pubspec.yaml
name: recase
version: 2.0.1
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/techniboogie-dart/recase
environment:
sdk: '>=1.20.0 <3.0.0'
dev_dependencies:
test: '^1.0.0'
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 1.0.0 | Cached · Upstream SHA-256 matched | Download | 49e4b871…a8bbe9 |
| 1.0.0+1 | Cached · Upstream SHA-256 matched | Download | c12adff6…d84279 |
| 2.0.0 | Cached · Upstream SHA-256 matched | Download | a46ab753…6a7797 |
| 2.0.0+1 | Cached · Upstream SHA-256 matched | Download | 30944783…434ed3 |
| 2.0.1 | Cached · Upstream SHA-256 matched | Download | 71a9e299…9b43a7 |
| 3.0.0 | Cached · Upstream SHA-256 matched | Download | 94294b9b…3aae4f |
| 3.0.1 | Cached · Upstream SHA-256 matched | Download | d18e5f9c…590586 |
| 4.0.0-nullsafety.0 | Cached · Upstream SHA-256 matched | Download | 5f4694bb…bc1304 |
| 4.0.0 | Cached · Upstream SHA-256 matched | Download | 7aec9b9f…fc6ca5 |
| 4.1.0 | Cached · Upstream SHA-256 matched | Download | e4eb4ec2…f89213 |
Dependencies
No direct dependencies declared.