df_string 0.2.10 copy "df_string: ^0.2.10" to clipboard
df_string: ^0.2.10 copied to clipboard

A package designed to extend Dart strings by offering additional functionality.

example/example.dart

//.title
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//
// Copyright © dev-cetera.com & contributors.
//
// The use of this source code is governed by an MIT-style license described in
// the LICENSE file located in this project's root directory.
//
// See: https://opensource.org/license/mit
//
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//.title~

import 'package:df_string/df_string.dart';

// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

void main() {
  // Convert strings to different case types.
  print('Hello World!'.toCamelCase()); // prints helloWorld
  print('Hello World!'.toSnakeCase()); // prints hello_world
  print('Hello World!'.toUpperSnakeCase()); // prints HELLO_WORLD
  print('Hello World!'.toKebabCase()); // prints hello-world
  print('Hello World!'.toUpperDotCase()); // prints HELLO.WORLD
}
3
likes
160
points
399
downloads

Publisher

verified publisherdev-cetera.com

Weekly Downloads

A package designed to extend Dart strings by offering additional functionality.

Homepage
Repository (GitHub)
View/report issues

Topics

#dart #json #string #utility #tool

Documentation

API reference

Funding

Consider supporting this project:

www.patreon.com
github.com
www.buymeacoffee.com

License

MIT (license)

More

Packages that depend on df_string