kart 1.0.2 copy "kart: ^1.0.2" to clipboard
kart: ^1.0.2 copied to clipboard

Taste and smell dart a little like Kotlin. We can feel the magic of Kotin even in dart.

Collection of extensions #

Dart is good but can be better.

Kotlin Style #

Join QQ Group now: 1003811176

For objects:

  • let
  • run
  • also
  • takeIf

For strings:

  • isBlank()
  • isNotBlank()
  • isNullOrBlank()
  • orEmpty()

For iterable

  • firstOrNull()
  • lastOrNull()
  • lastIndex
  • getOrElse(int,defaultValue)
  • getOrNull(int)
  • mapIndexed(int,element)
  • mapNotNull(element)

Other #

Pair<F,S>

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Taste and smell dart a little like Kotlin. We can feel the magic of Kotin even in dart.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on kart