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

kevlatus / flutter_fortune_wheel / 20880454082

10 Jan 2026 03:28PM UTC coverage: 79.799% (-3.1%) from 82.904%
20880454082

push

github

kevlatus
Add BarIndicator and update FortuneBar to use it by default

- Introduced BarIndicator for improved visual representation.
- Updated FortuneBar to utilize BarIndicator instead of RectangleIndicator.
- Adjusted indicator sizing to be 80% of the smallest item width.
- Added tests for BarIndicator and FortuneBar default indicator behavior.

28 of 28 new or added lines in 2 files covered. (100.0%)

35 existing lines in 2 files now uncovered.

794 of 995 relevant lines covered (79.8%)

7.97 hits per line

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

0.0
/lib/src/indicators/rectangle.dart
1
part of 'indicators.dart';
2

3
class _Rectangle extends StatelessWidget {
4
  final double width;
5
  final double height;
6
  final double borderWidth;
7
  final Color borderColor;
8
  final Color color;
9

UNCOV
10
  const _Rectangle({
×
11
    Key? key,
12
    required this.width,
13
    required this.height,
14
    this.borderWidth = 2,
15
    this.borderColor = Colors.black,
16
    this.color = Colors.transparent,
UNCOV
17
  }) : super(key: key);
×
18

UNCOV
19
  @override
×
20
  Widget build(BuildContext context) {
UNCOV
21
    return Container(
×
UNCOV
22
      width: width,
×
UNCOV
23
      height: height,
×
UNCOV
24
      decoration: BoxDecoration(
×
UNCOV
25
        color: color,
×
UNCOV
26
        border: Border.all(
×
UNCOV
27
          color: borderColor,
×
UNCOV
28
          width: borderWidth,
×
29
        ),
30
      ),
31
    );
32
  }
33
}
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