darkstorm_common 2.0.0 darkstorm_common: ^2.0.0 copied to clipboard
Common widgets and utilities for my apps
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add darkstorm_common
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
darkstorm_common: ^2.0.0
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:darkstorm_common/backend/backend.dart';
import 'package:darkstorm_common/drive/driver.dart';
import 'package:darkstorm_common/drive/query.dart';
import 'package:darkstorm_common/ui/bottom.dart';
import 'package:darkstorm_common/ui/frame.dart';
import 'package:darkstorm_common/ui/frame_content.dart';
import 'package:darkstorm_common/ui/intro.dart';
import 'package:darkstorm_common/ui/nav.dart';
import 'package:darkstorm_common/ui/speed_dial.dart';
import 'package:darkstorm_common/ui/updating_switch_tile.dart';
import 'package:darkstorm_common/util/observatory.dart';
import 'package:darkstorm_common/util/top_resources.dart';