dart_data_type_parser 0.0.2 copy "dart_data_type_parser: ^0.0.2" to clipboard
dart_data_type_parser: ^0.0.2 copied to clipboard

A Dart package that extends built-in data types like double, int, and String with useful methods. It provides functionality for formatting numbers, converting strings to numbers, handling pluralizatio [...]

Changelog #

All notable changes to this project will be documented in this file.

0.0.2 #

  • DoubleExtensions: Added method to format double values with configurable decimal places.
  • IntExtensions: Added method to convert int values to string.
  • StringExtensions:
    • Added method to convert a string to int (toInt).
    • Added method to convert a string to double (toDouble).
    • Added method to convert a string to title case (toTitleCase), with support for acronyms.
    • Added method to convert a string to its plural form (toPluralCase), including handling irregular plurals.
    • Added method to convert a string to snake_case (toSnakeCase).
  • Irregular Plurals: Included a predefined list of irregular plural words for common exceptions like "child" → "children", "person" → "people", etc.

0.0.1 #

  • Initial Release.
0
likes
130
points
262
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package that extends built-in data types like double, int, and String with useful methods. It provides functionality for formatting numbers, converting strings to numbers, handling pluralization (including irregular plurals), and converting strings to different formats like title case and snake case.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, fluttertoast

More

Packages that depend on dart_data_type_parser