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

            Line data    Source code
       1              : import 'package:amadeus_proto/api/models/profile.dart';
       2              : import 'package:amadeus_proto/pages/home/widgets/streak%20widgets/streak_container.dart';
       3              : import 'package:flutter/material.dart';
       4              : 
       5              : class StreakPreview extends StatelessWidget {
       6            0 :   const StreakPreview({
       7              :     super.key,
       8              :     required this.user,
       9              :   });
      10              : 
      11              :   final Profile user;
      12              : 
      13            0 :   @override
      14              :   Widget build(BuildContext context) {
      15            0 :     return Stack(
      16            0 :       children: [
      17              :         const Align(
      18              :           alignment: Alignment(0, -0.5),
      19              :           child: StreakContainer(
      20              :             size: 50,
      21              :             padding: EdgeInsets.all(12),
      22              :           ),
      23              :         ),
      24            0 :         Align(
      25              :           alignment: const Alignment(0, 0.8),
      26            0 :           child: Text(
      27            0 :             "${user.streakDays.length}",
      28              :             style: const TextStyle(
      29              :               color: Colors.white,
      30              :               fontWeight: FontWeight.bold,
      31              :               height: 1.1,
      32              :               fontSize: 30,
      33              :             ),
      34              :           ),
      35              :         )
      36              :       ],
      37              :     );
      38              :   }
      39              : }
        

Generated by: LCOV version 2.3-1