vit_dart_extensions 3.0.1
vit_dart_extensions: ^3.0.1 copied to clipboard
Home to useful definitions for dart extensions on basic types.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add vit_dart_extensions
With Flutter:
$ flutter pub add vit_dart_extensions
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
vit_dart_extensions: ^3.0.1
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:vit_dart_extensions/vit_dart_extensions.dart';