LCOV - code coverage report
Current view: top level - lib/design/wrapper - single_scroll_wrapper.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 5 5 100.0 %
Date: 2024-10-04 11:12:13 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:app_finance/design/wrapper/focus_wrapper.dart';
       6             : import 'package:flutter/material.dart';
       7             : 
       8             : class SingleScrollWrapper extends StatelessWidget {
       9             :   final FocusController controller;
      10             :   final Widget child;
      11             : 
      12           1 :   const SingleScrollWrapper({
      13             :     super.key,
      14             :     required this.controller,
      15             :     required this.child,
      16             :   });
      17             : 
      18           1 :   @override
      19             :   Widget build(BuildContext context) {
      20           1 :     return FocusWrapper(
      21           1 :       controller: controller,
      22           4 :       child: SingleChildScrollView(controller: controller.controller, child: child),
      23             :     );
      24             :   }
      25             : }

Generated by: LCOV version 1.14