indent 1.1.0 copy "indent: ^1.1.0" to clipboard
indent: ^1.1.0 copied to clipboard

outdated

Change indentation in multiline Dart strings while preserving the existing relative indentation.

1.1.0 #

  • Adds trimMargin() method that behaves like Kotlin's trimMargin.

1.0.0+2 #

  • "performance improvements" - replace List.generate(indentationLevel) with a StringBuffer and a for loop. Nobody will probably notice the difference, but go ahead and enjoy the performance improvement of a couple Planck times anyway.

1.0.0+1 #

  • Somebody accidentally forgot to change the default package description. That's now fixed.

1.0.0 #

  • Initial version
15
likes
30
pub points
80%
popularity

Publisher

verified publisheriiro.dev

Change indentation in multiline Dart strings while preserving the existing relative indentation.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

More

Packages that depend on indent