LCOV - code coverage report
Current view: top level - src/widgets - controls_bar.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1 8 12.5 %
Date: 2021-10-11 06:57:03 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:flutter/material.dart';
       2             : import 'package:flutter/rendering.dart';
       3             : import 'package:widgetbook/src/constants/constants.dart';
       4             : import 'package:widgetbook/src/widgets/device_bar.dart';
       5             : import 'package:widgetbook/src/widgets/theme_handle.dart';
       6             : import 'package:widgetbook/src/widgets/zoom_handle.dart';
       7             : 
       8             : class ControlsBar extends StatelessWidget {
       9          14 :   const ControlsBar({Key? key}) : super(key: key);
      10             : 
      11           0 :   @override
      12             :   Widget build(BuildContext context) {
      13           0 :     return SizedBox(
      14             :       height: Constants.controlBarHeight,
      15           0 :       child: Row(
      16           0 :         children: [
      17             :           const SizedBox(
      18             :             width: 16,
      19             :           ),
      20           0 :           Expanded(
      21           0 :             child: SingleChildScrollView(
      22             :               scrollDirection: Axis.horizontal,
      23           0 :               child: Row(
      24             :                 mainAxisSize: MainAxisSize.min,
      25             :                 children: const [
      26             :                   ZoomHandle(),
      27             :                   SizedBox(
      28             :                     width: 40,
      29             :                   ),
      30             :                   ThemeHandle(),
      31             :                   SizedBox(
      32             :                     width: 40,
      33             :                   ),
      34             :                   DeviceBar(),
      35             :                 ],
      36             :               ),
      37             :             ),
      38             :           ),
      39             :         ],
      40             :       ),
      41             :     );
      42             :   }
      43             : }

Generated by: LCOV version 1.15