df_string 0.2.1 copy "df_string: ^0.2.1" to clipboard
df_string: ^0.2.1 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. Use of this
// source code is governed by an MIT-style license that can be found in the
// LICENSE file.
//
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//.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
59%
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