Skip to content

Commit fb400c9

Browse files
committed
make linter happy
1 parent 8e7efef commit fb400c9

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

analysis_options.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# packages, and plugins designed to encourage good coding practices.
33
include: package:flutter_lints/flutter.yaml
44

5+
analyzer:
6+
exclude:
7+
# Those are often shit
8+
- lib/gen/**
9+
510
linter:
611
# A list of all available lints and their documentation is published at
712
# https://dart-lang.github.io/linter/lints/index.html.

lib/ui/pages/disabled.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Disabled extends StatelessWidget {
4040
decoration: BoxDecoration(
4141
boxShadow: [
4242
BoxShadow(
43-
color: t.colorScheme.background,
43+
color: t.colorScheme.surface,
4444
spreadRadius: 14,
4545
blurRadius: 22,
4646
),

lib/ui/pages/home/controls/battery_card.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ class _BatteryContainer extends StatelessWidget {
112112
Widget build(BuildContext context) {
113113
final t = Theme.of(context);
114114
// TODO: Maybe move this advanced color stuff somewhere else someday
115+
// yep... well but like... what else i'm supposed to??
116+
// ignore: deprecated_member_use
115117
final color = Hct.fromInt(t.colorScheme.primary.value);
116118
final palette = TonalPalette.of(color.hue, color.chroma);
117119
return ClipRRect(

0 commit comments

Comments
 (0)