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

            Line data    Source code
       1              : import 'package:flutter/material.dart';
       2              : import 'package:amadeus_proto/utils/shape_extension.dart';
       3              : 
       4              : class PaddedCard extends StatelessWidget {
       5            0 :   const PaddedCard(
       6              :       {super.key, this.padding, this.child, this.color, this.borderColor});
       7              : 
       8              :   final EdgeInsetsGeometry? padding;
       9              :   final Widget? child;
      10              :   final Color? color;
      11              :   final Color? borderColor;
      12              : 
      13            0 :   @override
      14              :   Widget build(BuildContext context) {
      15            0 :     return Card(
      16            0 :       shape: (CardTheme.of(context).shape as RoundedRectangleBorder).from(
      17            0 :           side: borderColor != null ? BorderSide(color: borderColor!) : null),
      18            0 :       color: color,
      19            0 :       child: Padding(
      20            0 :         padding: padding ?? const EdgeInsets.all(8),
      21            0 :         child: child,
      22              :       ),
      23              :     );
      24              :   }
      25              : }
        

Generated by: LCOV version 2.3-1