• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

icapps / flutter-template / 12908916411

22 Jan 2025 01:09PM UTC coverage: 59.889% (-3.5%) from 63.402%
12908916411

push

github

web-flow
Merge pull request #351 from icapps/feature/#336-base-screen

Feature/#336 base screen

412 of 612 new or added lines in 62 files covered. (67.32%)

12 existing lines in 7 files now uncovered.

1184 of 1977 relevant lines covered (59.89%)

2.17 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.82
/lib/widget/general/styled/flutter_template_progress_indicator.dart
1
import 'package:flutter/material.dart';
2
import 'package:flutter_template/util/env/flavor_config.dart';
3
import 'package:flutter_template/widget/provider/data_provider_widget.dart';
4

5
class FlutterTemplateProgressIndicator extends StatelessWidget {
6
  final bool dark;
7

8
  const FlutterTemplateProgressIndicator({
1✔
9
    required this.dark,
10
    super.key,
11
  });
12

13
  const FlutterTemplateProgressIndicator.dark({super.key}) : dark = true;
60✔
14

15
  const FlutterTemplateProgressIndicator.light({super.key}) : dark = false;
119✔
16

17
  @override
3✔
18
  Widget build(BuildContext context) {
19
    return DataProviderWidget(
3✔
20
      childBuilderTheme: (context, theme) {
3✔
21
        if (FlavorConfig.isInTest()) {
3✔
22
          return Container(
3✔
23
            color: theme.accent,
3✔
24
            height: 50,
25
            width: 50,
26
            child: const Text(
27
              'CircularProgressIndicator',
28
              style: TextStyle(fontSize: 8),
29
            ),
30
          );
31
        }
32
        return CircularProgressIndicator(
×
NEW
33
          valueColor: AlwaysStoppedAnimation(dark ? theme.progressIndicator : theme.inverseProgressIndicator),
×
34
        );
35
      },
36
    );
37
  }
38
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc