LCOV - code coverage report
Current view: top level - lib/pages/subscription/widgets - other_widget.dart Coverage Total Hit
Test: lcov.info Lines: 5.3 % 19 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/_mixins/launcher_mixin.dart';
       7              : import 'package:app_finance/design/button/full_sized_button_widget.dart';
       8              : import 'package:material_ui/material_ui.dart';
       9              : 
      10              : class OtherWidget extends StatelessWidget with LauncherMixin {
      11            1 :   const OtherWidget({super.key});
      12              : 
      13            0 :   @override
      14              :   Widget build(BuildContext context) {
      15            0 :     return SingleChildScrollView(
      16            0 :       child: Column(children: [
      17              :         ThemeHelper.hIndent,
      18            0 :         FullSizedButtonWidget(
      19            0 :           onPressed: () => openURL('https://www.buymeacoffee.com/lyskouski'),
      20            0 :           title: AppLocale.labels.subscriptionCoffee,
      21              :           icon: Icons.coffee,
      22              :         ),
      23              :         ThemeHelper.hIndent2x,
      24            0 :         FullSizedButtonWidget(
      25            0 :           onPressed: () => openURL('https://paypal.me/terCAD'),
      26            0 :           title: AppLocale.labels.subscriptionPaypal,
      27              :           icon: Icons.coffee_maker,
      28              :         ),
      29              :         ThemeHelper.hIndent2x,
      30            0 :         FullSizedButtonWidget(
      31            0 :           onPressed: () => openURL('https://donorbox.org/tercad'),
      32            0 :           title: AppLocale.labels.subscriptionDonorbox,
      33              :           icon: Icons.support,
      34              :         ),
      35              :         ThemeHelper.hIndent2x,
      36            0 :         FullSizedButtonWidget(
      37            0 :           onPressed: () => openURL('https://patreon.com/terCAD'),
      38            0 :           title: AppLocale.labels.subscriptionPatreon,
      39              :           icon: Icons.pattern,
      40              :         ),
      41              :         ThemeHelper.hIndent2x,
      42            0 :         FullSizedButtonWidget(
      43            0 :           onPressed: () => openURL('https://github.com/sponsors/lyskouski'),
      44            0 :           title: AppLocale.labels.subscriptionGithub,
      45              :           icon: Icons.gite,
      46              :         ),
      47              :         ThemeHelper.hIndent2x,
      48              :       ]),
      49              :     );
      50              :   }
      51              : }
        

Generated by: LCOV version 2.0-1