LCOV - code coverage report
Current view: top level - lib/charts - bar_vertical_single.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 7 7 100.0 %
Date: 2024-10-04 11:12:13 Functions: 0 0 -

          Line data    Source code
       1             : // Copyright 2023 The terCAD team. All rights reserved.
       2             : // Use of this source code is governed by a CC BY-NC-ND 4.0 license that can be found in the LICENSE file.
       3             : 
       4             : import 'package:app_finance/charts/bar_vertical_group.dart';
       5             : import 'package:flutter/material.dart';
       6             : 
       7             : class BarVerticalSingle extends StatelessWidget {
       8             :   final Color color;
       9             :   final double value;
      10             :   final double height;
      11             :   final double width;
      12             : 
      13           1 :   const BarVerticalSingle({
      14             :     super.key,
      15             :     required this.color,
      16             :     required this.value,
      17             :     this.height = 32,
      18             :     this.width = 4,
      19             :   });
      20             : 
      21           1 :   @override
      22             :   Widget build(BuildContext context) {
      23           1 :     return BarVerticalGroup(
      24           2 :       color: [color],
      25           2 :       value: [value],
      26           1 :       height: height,
      27           1 :       width: width,
      28             :     );
      29             :   }
      30             : }

Generated by: LCOV version 1.14