LCOV - code coverage report
Current view: top level - src/models - screen.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 12 12 100.0 %
Date: 2021-11-17 11:54:54 Functions: 0 0 -

          Line data    Source code
       1             : /*
       2             : 
       3             : col-xs- => <768px (Container), Column(auto)
       4             : col-sm- => >= 768px (Container,750px), Column(~62px)
       5             : col-md => >= 992px (Container,970px), Column(~81px)
       6             : col-lg => >= 1200px (Container, 1170px), Column(~97px)
       7             : */
       8             : 
       9           4 : enum TypeScreen { xs, sm, md, lg, none }
      10             : 
      11             : class ScreenData {
      12             :   final double width;
      13             :   final int operador;
      14             :   final double column;
      15             : 
      16           1 :   ScreenData(
      17             :       {required this.width, required this.operador, required this.column});
      18             : }
      19             : 
      20             : class Screen {
      21           1 :   static Map<TypeScreen, ScreenData> screens() {
      22           1 :     Map<TypeScreen, ScreenData> screens = {};
      23           1 :     screens.addAll(
      24           2 :         {TypeScreen.xs: ScreenData(width: 768.0, operador: 0, column: 768.0)});
      25           1 :     screens.addAll(
      26           2 :         {TypeScreen.sm: ScreenData(width: 768.0, operador: 1, column: 62.0)});
      27           1 :     screens.addAll(
      28           2 :         {TypeScreen.md: ScreenData(width: 992.0, operador: 1, column: 81.0)});
      29           1 :     screens.addAll(
      30           2 :         {TypeScreen.lg: ScreenData(width: 1200.0, operador: 1, column: 97.0)});
      31             :     return screens;
      32             :   }
      33             : }

Generated by: LCOV version 1.15