LCOV - code coverage report
Current view: top level - presentation/widgets - tt_app_bar.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 9 9 100.0 %
Date: 2026-03-02 18:37:46 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:flutter/material.dart';
       2             : import 'package:flutter_svg/svg.dart';
       3             : 
       4             : class TtAppBar extends StatelessWidget implements PreferredSizeWidget {
       5             :   final String? title;
       6           3 :   const TtAppBar({super.key , this.title});
       7           4 :   @override
       8             :   Size get preferredSize => const Size.fromHeight(kToolbarHeight);
       9           4 :   @override
      10             :   Widget build(BuildContext context) {
      11           4 :     return AppBar(
      12           4 :       title: Center(
      13           4 :         child: Column(
      14           4 :           children: [
      15           4 :             SvgPicture.asset('assets/images/tt_ico.svg', height: 32),
      16          13 :             if(title != null) Text( title!, style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold, color: Colors.white), textAlign: .left,),
      17             :           ],
      18             :         ),
      19             :       ),
      20             :     );
      21             :   }
      22             : }

Generated by: LCOV version 1.14