format 1.5.1 copy "format: ^1.5.1" to clipboard
format: ^1.5.1 copied to clipboard

A package for formatting Dart strings like a format method in Python.

CHANGELOG #

1.5.1 #

  • Update README.md.

1.5.0 #

  • Add escaping of the {.

1.4.0 #

  • Breaked changes: in numbers, if fill is specified, the zero flag is ignored.
  • Fix: the zero flag was ignored in the strings.

1.3.1 #

  • Remove dart_code_metrics from dependencies

1.3.0 #

  • Upgrade dependencies

1.2.0 #

  • Named arguments can now accept Symbol:

    format('{a} {b}', {#a: 123, #b: 234});
    
  • Updated.

  • Fixed bug: Formatting fails if 2 justifications used in a single string (https://github.com/vi-k/format/issues/2).

1.1.1 #

  • English README.md.
  • Add extension method print and top-level function format.

1.1.0 #

  • Breaked changes: for named args use format({...}) instead of format([], {...}).

1.0.1-nullsafety.0 #

  • Fixed A little.

1.0.0-nullsafety.0 #

  • First release. The basic version is ready. The tests are written.
48
likes
130
pub points
93%
popularity

Publisher

verified publisheryet-another.dev

A package for formatting Dart strings like a format method in Python.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

characters, intl

More

Packages that depend on format