mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 22:12:53 +00:00
Fixed most of the warnings
This commit is contained in:
parent
715ca0ab3f
commit
f7c3ba0374
87 changed files with 252 additions and 250 deletions
|
@ -37,7 +37,7 @@ class CombinedChartItem {
|
|||
}
|
||||
|
||||
class CombinedHomeChart extends StatelessWidget {
|
||||
const CombinedHomeChart({Key? key}) : super(key: key);
|
||||
const CombinedHomeChart({super.key});
|
||||
|
||||
List<int>? removeZero(List<int> list) {
|
||||
final removed = list.where((i) => i > 0);
|
||||
|
@ -266,12 +266,11 @@ class _Legend extends StatelessWidget {
|
|||
final String? secondaryValue;
|
||||
|
||||
const _Legend({
|
||||
Key? key,
|
||||
required this.label,
|
||||
required this.color,
|
||||
required this.primaryValue,
|
||||
this.secondaryValue
|
||||
}) : super(key: key);
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue