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

wger-project / flutter / 30901196754

04 Aug 2026 10:34AM UTC coverage: 51.289% (-1.8%) from 53.103%
30901196754

Pull #1301

github

web-flow
Merge 5c77a99bf into e3affdd4f
Pull Request #1301: feat : implemented dynamic colour support

98 of 138 new or added lines in 24 files covered. (71.01%)

1088 existing lines in 87 files now uncovered.

11659 of 22732 relevant lines covered (51.29%)

5.17 hits per line

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

75.0
/lib/core/widgets/progress_indicator.dart
1
/*
2
 * This file is part of wger Workout Manager <https://github.com/wger-project>.
3
 * Copyright (c)  2026 wger Team
4
 *
5
 * wger Workout Manager is free software: you can redistribute it and/or modify
6
 * it under the terms of the GNU Affero General Public License as published by
7
 * the Free Software Foundation, either version 3 of the License, or
8
 * (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU Affero General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU Affero General Public License
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
 */
18

19
import 'package:flutter/material.dart';
20

21
class BoxedProgressIndicator extends StatelessWidget {
UNCOV
22
  const BoxedProgressIndicator({super.key});
×
23

24
  @override
25✔
25
  Widget build(BuildContext context) {
26
    return const SizedBox(
27
      height: 200,
28
      child: Center(child: CircularProgressIndicator()),
29
    );
30
  }
31
}
32

33
class CenteredProgressIndicator extends StatelessWidget {
34
  const CenteredProgressIndicator({super.key});
3✔
35

36
  @override
×
37
  Widget build(BuildContext context) {
38
    return const Center(child: CircularProgressIndicator());
39
  }
40
}
41

42
class FormProgressIndicator extends StatelessWidget {
43
  const FormProgressIndicator({super.key});
3✔
44

45
  @override
1✔
46
  Widget build(BuildContext context) {
47
    return SizedBox(
1✔
48
      height: 20,
49
      width: 20,
50
      // Takes the surrounding foreground: the label color inside a button, the
51
      // leading icon color inside a ListTile.
52
      child: CircularProgressIndicator(color: IconTheme.of(context).color),
3✔
53
    );
54
  }
55
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc