LCOV - code coverage report
Current view: top level - lib/exercises/widget - previous_button.dart Coverage Total Hit
Test: lcov.info Lines: 11.1 % 9 1
Test Date: 2025-05-10 20:26:13 Functions: - 0 0

            Line data    Source code
       1              : import 'package:amadeus_proto/constants.dart';
       2              : import 'package:flutter/material.dart';
       3              : import 'package:flutter_svg/svg.dart';
       4              : 
       5              : class PreviousButton extends StatelessWidget {
       6           48 :   const PreviousButton({super.key});
       7              : 
       8            0 :   @override
       9              :   Widget build(BuildContext context) {
      10            0 :     return Container(
      11              :       margin: const EdgeInsets.all(10),
      12            0 :       decoration: BoxDecoration(
      13            0 :           borderRadius: BorderRadius.circular(50),
      14              :           border: const Border(
      15              :             top: BorderSide(color: Color(0xFFDFDFDF)),
      16              :             left: BorderSide(color: Color(0xFFDFDFDF)),
      17              :             right: BorderSide(color: Color(0xFFDFDFDF)),
      18              :             bottom: BorderSide(color: Color(0xFFDFDFDF)),
      19              :           ),
      20              :           color: Colors.white),
      21            0 :       child: IconButton(
      22            0 :         icon: SvgPicture.asset("assets/FigmaDesign/Asset/SVG/ArrowLeft.svg",
      23              :             fit: BoxFit.fill),
      24              :         iconSize: closeIconSize,
      25            0 :         color: Theme.of(context).colorScheme.primary,
      26            0 :         onPressed: () => {Navigator.pop(context)},
      27              :       ),
      28              :     );
      29              :   }
      30              : }
        

Generated by: LCOV version 2.3-1