LCOV - code coverage report
Current view: | top level - src/widgets/tiles - tile_helper_methods.dart (source / functions) |  |  | Hit | Total | Coverage
Test: | lcov.info |  | Lines: | 0 | 8 | 0.0 %
Date: | 2021-10-11 06:57:03 |  | Functions: | 0 | 0 | -

              Line data    Source code
           1             : import 'package:flutter/material.dart';
           2             : import 'package:widgetbook/src/models/organizers/organizers.dart';
           3             : import 'package:widgetbook/src/widgets/tiles/folder_tile.dart';
           4             : import 'package:widgetbook/src/widgets/tiles/widget_tile.dart';
           5             :
           6           0 : List<Widget> buildFolders({
           7             :   required List<Folder> folders,
           8             :   required int currentLevel,
           9             : }) {
          10             :   return folders
          11           0 :       .map(
          12           0 :         (Folder folder) => FolderTile(
          13             :           folder: folder,
          14             :           level: currentLevel,
          15             :         ),
          16             :       )
          17           0 :       .toList();
          18             : }
          19             :
          20           0 : List<Widget> buildWidgets({
          21             :   required List<WidgetElement> widgets,
          22             :   required int currentLevel,
          23             : }) {
          24             :   return widgets
          25           0 :       .map(
          26           0 :         (WidgetElement widgetElement) => WidgetTile(
          27             :           widgetElement: widgetElement,
          28             :           level: currentLevel,
          29             :         ),
          30             :       )
          31           0 :       .toList();
          32             : }

Generated by: LCOV version 1.15