clock icon indicating copy to clipboard operation
clock copied to clipboard

A fakeable wrapper for dart:core clock APIs.

Results 2 clock issues
Sort by recently updated
recently updated
newest added

If I use **withClock** with a fixed time, I get a different time if I use it in a new **BuildContext** in **WidgetTesting**. I expect that all of the test...

If flutter app starts with: ``` void main() { WidgetsFlutterBinding.ensureInitialized(); ``` Then `clock.now()` prints not mocked value if outside of `build` method. Minimum reproduceable code: ``` import 'package:clock/clock.dart'; import 'package:flutter/material.dart';...