LCOV - code coverage report
Current view: top level - src/states - empty.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 7 7 100.0 %
Date: 2021-10-27 10:12:28 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:flutter/foundation.dart';
       2             : import 'package:flutter/material.dart';
       3             : 
       4             : /// An Empty State Widget to be used for empty states
       5             : class EmptyStateWidget extends StatelessWidget {
       6             :   /// Builds an [EmptyStateWidget].
       7          13 :   const EmptyStateWidget({
       8             :     Key? key,
       9             :     this.message = 'Nothing here...',
      10           1 :   }) : super(key: key);
      11             : 
      12             :   /// The message to be displayed
      13             :   final String message;
      14             : 
      15           1 :   @override
      16             :   Widget build(BuildContext context) {
      17           3 :     return Center(child: Text(message));
      18             :   }
      19             : 
      20           1 :   @override
      21             :   void debugFillProperties(DiagnosticPropertiesBuilder properties) {
      22           1 :     super.debugFillProperties(properties);
      23           3 :     properties.add(StringProperty('message', message));
      24             :   }
      25             : }

Generated by: LCOV version 1.15