LCOV - code coverage report
Current view: top level - lib/pages/metrics/widgets - budget_tab.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1 7 14.3 %
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/_classes/herald/app_design.dart';
       5             : import 'package:app_finance/_configs/theme_helper.dart';
       6             : import 'package:app_finance/components/widgets/budget_forecast_chart.dart';
       7             : import 'package:app_finance/components/widgets/budget_ytd_chart.dart';
       8             : import 'package:flutter/material.dart';
       9             : 
      10             : class BudgetTab extends StatelessWidget {
      11             :   final double? width;
      12             : 
      13           1 :   const BudgetTab({
      14             :     super.key,
      15             :     this.width,
      16             :   });
      17             : 
      18           0 :   @override
      19             :   Widget build(BuildContext context) {
      20           0 :     return SingleChildScrollView(
      21           0 :       child: Padding(
      22           0 :         padding: width != null ? EdgeInsets.zero : EdgeInsets.all(ThemeHelper.getIndent(2)),
      23           0 :         child: Column(
      24           0 :           crossAxisAlignment: AppDesign.getAlignment(),
      25             :           children: const [
      26             :             BudgetForecastChart(),
      27             :             ThemeHelper.hIndent4x,
      28             :             BudgetYtdChart(),
      29             :           ],
      30             :         ),
      31             :       ),
      32             :     );
      33             :   }
      34             : }

Generated by: LCOV version 1.14