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

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

example/example.dart

//.title
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//
// Dart/Flutter (DF) Packages by DevCetra.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
}
1
likes
160
pub points
55%
popularity

Publisher

verified publisherdevcetra.com

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

Repository (GitHub)
View/report issues

Topics

#dart #json #string #utility #utils

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

More

Packages that depend on df_string