w_common 3.2.0 w_common: ^3.2.0 copied to clipboard
General utilities for Dart projects.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add w_common
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
w_common: ^3.2.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:w_common/async_extensions.dart';
import 'package:w_common/cache.dart';
import 'package:w_common/disposable.dart';
import 'package:w_common/disposable_browser.dart';
import 'package:w_common/func.dart';
import 'package:w_common/invalidation_mixin.dart';
import 'package:w_common/json_serializable.dart';
import 'package:w_common/test_utils.dart';
import 'package:w_common/time.dart';
import 'package:w_common/web_compiler.dart';