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

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

2.0.0 #

  • Migrate to null-safety & set minimum SDK version to >=2.12.0

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
150
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

Documentation

API reference

License

BSD-2-Clause (license)

More

Packages that depend on indent