LCOV - code coverage report
Current view: top level - lib/pages/settings/widgets/recover_tab - date_time_helper_widget.dart Coverage Total Hit
Test: lcov.info Lines: 5.6 % 18 1
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/_classes/herald/app_locale.dart';
       5              : import 'package:app_finance/_configs/theme_helper.dart';
       6              : import 'package:app_finance/_ext/build_context_ext.dart';
       7              : import 'package:app_finance/design/wrapper/table_widget.dart';
       8              : import 'package:material_ui/material_ui.dart';
       9              : 
      10              : class DateTimeHelperWidget extends StatelessWidget {
      11            1 :   const DateTimeHelperWidget({super.key});
      12              : 
      13            0 :   @override
      14              :   Widget build(BuildContext context) {
      15            0 :     return TableWidget(
      16            0 :       width: ThemeHelper.getWidth(context, 6),
      17              :       chunk: const [64, null, null],
      18            0 :       shadowColor: context.colorScheme.onSurface.withValues(alpha: 0.1),
      19            0 :       data: [
      20            0 :         [Text(AppLocale.labels.symbol), Text(AppLocale.labels.meaning), Text(AppLocale.labels.example)],
      21            0 :         [const Text('y'), Text(AppLocale.labels.dtYear), const Text('2023')],
      22            0 :         [const Text('M'), Text(AppLocale.labels.dtMonth), const Text('July & 07')],
      23            0 :         [const Text('d'), Text(AppLocale.labels.dtDay), const Text('10')],
      24            0 :         [const Text('E'), Text(AppLocale.labels.dtNamedDay), const Text('Tuesday')],
      25            0 :         [const Text('h'), Text(AppLocale.labels.dtHalfHour), const Text('12')],
      26            0 :         [const Text('a'), Text(AppLocale.labels.dtAmPm), const Text('PM')],
      27            0 :         [const Text('H'), Text(AppLocale.labels.dtHour), const Text('18')],
      28            0 :         [const Text('m'), Text(AppLocale.labels.dtMinute), const Text('23')],
      29            0 :         [const Text('s'), Text(AppLocale.labels.dtSecond), const Text('48')],
      30            0 :         [const Text("'"), Text(AppLocale.labels.dtEscape), const Text("'Date='")],
      31            0 :         [const Text("''"), Text(AppLocale.labels.dtQuote), const Text("'o''clock'")],
      32              :       ],
      33              :     );
      34              :   }
      35              : }
        

Generated by: LCOV version 2.0-1