LCOV - code coverage report
Current view: top level - lib/design/wrapper - focus_wrapper.dart Coverage Total Hit
Test: lcov.info Lines: 100.0 % 4 4
Test Date: 2026-11-14 15:04:37 Functions: - 0 0

            Line data    Source code
       1              : // Copyright 2023 The terCAD team. All rights reserved.
       2              : // Use of this source code is governed by a CC BY-NC-ND 4.0 license that can be found in the LICENSE file.
       3              : 
       4              : import 'package:app_finance/_classes/controller/focus_controller.dart';
       5              : import 'package:material_ui/material_ui.dart';
       6              : 
       7              : class FocusWrapper extends InheritedWidget {
       8              :   final FocusController controller;
       9              : 
      10            3 :   const FocusWrapper({
      11              :     super.key,
      12              :     required this.controller,
      13              :     required super.child,
      14              :   });
      15              : 
      16            4 :   static FocusController? of(BuildContext context) =>
      17            6 :       context.dependOnInheritedWidgetOfExactType<FocusWrapper>()?.controller;
      18              : 
      19            3 :   @override
      20              :   bool updateShouldNotify(covariant InheritedWidget oldWidget) => false;
      21              : }
        

Generated by: LCOV version 2.0-1