roughike / indent

Change indentation in multiline Dart strings while preserving the existing relative indentation. Kotlin's trimIndent and trimMargin for Dart.
BSD 2-Clause "Simplified" License
17 stars 3 forks source link

Migrate to Dart 2.12 with null-safety #2

Closed dumazy closed 3 years ago

dumazy commented 3 years ago

Changed the minimum SDK to >=2.12.0 and migrated to null-safety. I've incremented the version number to 2.0.0 as I assume this might cause breaking changes for packages that don't support Dart 2.12.