LCOV - code coverage report
Current view: top level - lib/charts - radial_bar_chart.dart Coverage Total Hit
Test: lcov.info Lines: 0.0 % 11 0
Test Date: 2026-11-14 15:04:37 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:material_ui/material_ui.dart';
       5              : 
       6              : class RadialBarChart extends StatelessWidget {
       7              :   final Color? color;
       8              :   final IconData? icon;
       9              :   final double progress;
      10              : 
      11            0 :   const RadialBarChart({
      12              :     super.key,
      13              :     required this.progress,
      14              :     this.color,
      15              :     this.icon,
      16              :   });
      17              : 
      18            0 :   @override
      19              :   Widget build(BuildContext context) {
      20            0 :     return Stack(
      21              :       alignment: Alignment.center,
      22            0 :       children: [
      23            0 :         CircularProgressIndicator(
      24            0 :           value: progress,
      25              :           strokeWidth: 4,
      26            0 :           color: color,
      27            0 :           backgroundColor: Colors.grey.withValues(alpha: 0.5),
      28              :         ),
      29            0 :         Icon(
      30            0 :           icon,
      31            0 :           color: color,
      32              :         ),
      33              :       ],
      34              :     );
      35              :   }
      36              : }
        

Generated by: LCOV version 2.0-1