virtual_clock 1.0.0-dev.1
virtual_clock: ^1.0.0-dev.1 copied to clipboard
A Flutter package for virtual time manipulation and acceleration. Perfect for testing time-based features like streaks, daily bonuses, and scheduled events without waiting in real-time.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add virtual_clockWith Flutter:
$ flutter pub add virtual_clockThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
virtual_clock: ^1.0.0-dev.1Alternatively, 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:virtual_clock/virtual_clock.dart';