LCOV - code coverage report
Current view: top level - lib/src/test_helpers - mock_gesture_events.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 3 3 100.0 %
Date: 2021-08-10 15:50:53 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:flutter/gestures.dart';
       2             : 
       3             : import '../../extensions.dart';
       4             : import '../../game.dart';
       5             : import '../../input.dart';
       6             : 
       7           2 : TapDownInfo createTapDownEvent(
       8             :   Game game, {
       9             :   Offset? globalPosition,
      10             :   Offset? localPosition,
      11             : }) {
      12           2 :   return TapDownInfo.fromDetails(
      13             :     game,
      14           2 :     TapDownDetails(
      15             :       localPosition: localPosition ?? Offset.zero,
      16             :       globalPosition: globalPosition ?? Offset.zero,
      17             :     ),
      18             :   );
      19             : }

Generated by: LCOV version 1.15