LCOV - code coverage report
Current view: top level - src/providers - injected_theme_state.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 7 7 100.0 %
Date: 2021-10-03 15:54:23 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:flutter/material.dart';
       2             : 
       3             : class InjectedThemeState {
       4             :   final ThemeData? lightTheme;
       5             :   final ThemeData? darkTheme;
       6             : 
       7           2 :   InjectedThemeState({
       8             :     this.lightTheme,
       9             :     this.darkTheme,
      10             :   });
      11             : 
      12           2 :   @override
      13             :   bool operator ==(Object other) {
      14             :     if (identical(this, other)) return true;
      15             : 
      16           2 :     return other is InjectedThemeState &&
      17           6 :         other.lightTheme == lightTheme &&
      18           6 :         other.darkTheme == darkTheme;
      19             :   }
      20             : 
      21           1 :   @override
      22           5 :   int get hashCode => lightTheme.hashCode ^ darkTheme.hashCode;
      23             : }

Generated by: LCOV version 1.15