LCOV - code coverage report
Current view: top level - lib/charts - bar_vertical_single.dart Coverage Total Hit
Test: lcov.info Lines: 100.0 % 7 7
Test Date: 2026-11-14 15:08:11 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:material_ui/material_ui.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 2.0-1