LCOV - code coverage report
Current view: top level - src/widgets - controls_bar.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1 7 14.3 %
Date: 2021-10-03 15:54:23 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/zoom_handle.dart';
       5             : import 'package:widgetbook/src/widgets/brand_handle.dart';
       6             : import 'package:widgetbook/src/widgets/device_bar.dart';
       7             : import 'package:widgetbook/src/widgets/theme_handle.dart';
       8             : 
       9             : class ControlsBar extends StatelessWidget {
      10          10 :   const ControlsBar({Key? key}) : super(key: key);
      11             : 
      12           0 :   @override
      13             :   Widget build(BuildContext context) {
      14           0 :     return SizedBox(
      15             :       height: Constants.controlBarHeight,
      16           0 :       child: Row(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             :         const BrandHandle(),
      40             :         const SizedBox(
      41             :           width: 16,
      42             :         ),
      43             :       ]),
      44             :     );
      45             :   }
      46             : }

Generated by: LCOV version 1.15