darty_x 0.0.2
darty_x: ^0.0.2 copied to clipboard
A collection of useful extension functions for Dart language to enhance productivity and code readability.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add darty_x
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
darty_x: ^0.0.2
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:darty_x/collections/lists/group_by.dart';
import 'package:darty_x/collections/lists/lists.dart';
import 'package:darty_x/collections/lists/remove_duplicates.dart';
import 'package:darty_x/collections/maps/maps.dart';
import 'package:darty_x/collections/sets/sets.dart';
import 'package:darty_x/string/multiline_string.dart';
import 'package:darty_x/string/null_empty.dart';
import 'package:darty_x/string/string.dart';