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

This project is a port of kotlin-stdlib for Dart/Flutter projects. It includes collections (KtList, KtMap, KtSet) with 150+ methods as well as other useful packages.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add kt_dart
copied to clipboard

With Flutter:

 $ flutter pub add kt_dart
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  kt_dart: ^1.1.0
copied to clipboard

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:kt_dart/annotation.dart';
import 'package:kt_dart/collection.dart';
import 'package:kt_dart/exception.dart';
import 'package:kt_dart/kt.dart';
import 'package:kt_dart/standard.dart';
copied to clipboard
169
likes
140
points
7.6k
downloads

Publisher

verified publisherpascalwelsch.com

Weekly Downloads

2024.08.08 - 2025.02.20

This project is a port of kotlin-stdlib for Dart/Flutter projects. It includes collections (KtList, KtMap, KtSet) with 150+ methods as well as other useful packages.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

meta

More

Packages that depend on kt_dart