kotlin_scope_function 0.0.1-dev.1 kotlin_scope_function: ^0.0.1-dev.1 copied to clipboard
This is an utility package that providing Kotlin scope function implement by Dart.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add kotlin_scope_function
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
kotlin_scope_function: ^0.0.1-dev.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:kotlin_scope_function/kotlin_scope_function.dart';