LCOV - code coverage report
Current view: top level - lib/pages/profile/widgets - profile_colored_button.dart Coverage Total Hit
Test: lcov.info Lines: 0.0 % 13 0
Test Date: 2025-05-10 20:26:13 Functions: - 0 0

            Line data    Source code
       1              : import 'package:auto_size_text/auto_size_text.dart';
       2              : import 'package:flutter/material.dart';
       3              : 
       4              : class ProfileColoredButton extends StatelessWidget {
       5            0 :   const ProfileColoredButton({
       6              :     super.key,
       7              :     required this.color,
       8              :     required this.text,
       9              :     required this.icon,
      10              :   });
      11              : 
      12              :   final Color color;
      13              :   final String text;
      14              :   final Widget icon;
      15              : 
      16            0 :   @override
      17              :   Widget build(BuildContext context) {
      18            0 :     return Container(
      19            0 :       decoration: BoxDecoration(
      20            0 :         color: color,
      21              :         borderRadius: const BorderRadius.all(Radius.circular(16)),
      22              :       ),
      23            0 :       child: Padding(
      24              :         padding: const EdgeInsets.all(15),
      25            0 :         child: Column(
      26              :           crossAxisAlignment: CrossAxisAlignment.start,
      27            0 :           children: [
      28            0 :             Container(
      29              :               decoration: const BoxDecoration(
      30              :                   color: Colors.white,
      31              :                   borderRadius: BorderRadius.all(Radius.circular(16))),
      32            0 :               child: Padding(
      33              :                 padding: const EdgeInsets.all(15),
      34            0 :                 child: icon,
      35              :               ),
      36              :             ),
      37              :             const SizedBox(
      38              :               height: 10,
      39              :             ),
      40            0 :             AutoSizeText(
      41            0 :               text,
      42              :               style: const TextStyle(
      43              :                 fontSize: 20,
      44              :                 fontWeight: FontWeight.bold,
      45              :               ),
      46              :               maxLines: 1,
      47              :             )
      48              :           ],
      49              :         ),
      50              :       ),
      51              :     );
      52              :   }
      53              : }
        

Generated by: LCOV version 2.3-1