push
github
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
| 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 |
} |