LCOV - code coverage report
Current view: top level - instances - device_size_instance.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 5 5 100.0 %
Date: 2021-10-29 10:23:11 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:widgetbook_annotation/widgetbook_annotation.dart';
       2             : import 'package:widgetbook_generator/code_generators/instances/instance.dart';
       3             : import 'package:widgetbook_generator/code_generators/properties/property.dart';
       4             : 
       5             : class DeviceSizeInstance extends Instance {
       6           3 :   DeviceSizeInstance({
       7             :     required DeviceSize deviceSize,
       8           3 :   }) : super(
       9             :           name: 'DeviceSize',
      10           3 :           properties: [
      11           6 :             Property.double(key: 'width', value: deviceSize.width),
      12           6 :             Property.double(key: 'height', value: deviceSize.height),
      13             :           ],
      14             :         );
      15             : }

Generated by: LCOV version 1.15