Skip to content

Commit a765700

Browse files
Fix lints
1 parent cb90987 commit a765700

4 files changed

Lines changed: 49 additions & 58 deletions

File tree

analysis_options.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
include: package:flutter_lints/flutter.yaml
1+
analyzer:
2+
exclude:
3+
- 'stacked_themes/**'
4+
- '**/*.g.dart'
5+
- 'lib/app/**'
26

37
linter:
48
# The lint rules applied to this project can be customized in the

lib/ui/views/settings/widgets/toggle_item/toggle_item.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ToggleItem extends StackedView<ToggleItemModel> {
3636
),
3737
),
3838
Switch(
39-
activeColor: context.theme.appColors.background,
39+
activeThumbColor: context.theme.appColors.background,
4040
activeTrackColor: context.theme.appColors.switchBackground,
4141
inactiveThumbColor: context.theme.appColors.primary,
4242
inactiveTrackColor: context.theme.appColors.background,

lib/ui/widgets/common/side_navigation_drawer/side_navigation_drawer.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class SideNavigationDrawer extends StackedView<SideNavigationDrawerModel> {
7777
children: [
7878
PhosphorIcon(
7979
PhosphorIcons.bookOpenText(PhosphorIconsStyle.regular),
80-
color: context.theme.appColors.primaryOnDark.withOpacity(0.9),
80+
color: context.theme.appColors.primaryOnDark.withAlpha(220),
8181
size: 24.0,
8282
),
8383
const SizedBox(width: 12.0),
@@ -106,7 +106,7 @@ class SideNavigationDrawer extends StackedView<SideNavigationDrawerModel> {
106106
children: [
107107
PhosphorIcon(
108108
PhosphorIcons.bookmarksSimple(PhosphorIconsStyle.regular),
109-
color: context.theme.appColors.primaryOnDark.withOpacity(0.8),
109+
color: context.theme.appColors.primaryOnDark.withAlpha(220),
110110
size: 24.0,
111111
),
112112
const SizedBox(width: 12.0),
@@ -135,7 +135,7 @@ class SideNavigationDrawer extends StackedView<SideNavigationDrawerModel> {
135135
children: [
136136
PhosphorIcon(
137137
PhosphorIcons.magnifyingGlass(PhosphorIconsStyle.regular),
138-
color: context.theme.appColors.primaryOnDark.withOpacity(0.7),
138+
color: context.theme.appColors.primaryOnDark.withAlpha(220),
139139
size: 24.0,
140140
),
141141
const SizedBox(width: 12.0),
@@ -164,7 +164,7 @@ class SideNavigationDrawer extends StackedView<SideNavigationDrawerModel> {
164164
children: [
165165
PhosphorIcon(
166166
PhosphorIcons.gear(PhosphorIconsStyle.regular),
167-
color: context.theme.appColors.primaryOnDark.withOpacity(0.7),
167+
color: context.theme.appColors.primaryOnDark.withAlpha(220),
168168
size: 24.0,
169169
),
170170
const SizedBox(width: 12.0),

pubspec.lock

Lines changed: 39 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,18 @@ packages:
55
dependency: transitive
66
description:
77
name: _fe_analyzer_shared
8-
sha256: "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab"
8+
sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7"
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "76.0.0"
12-
_macros:
13-
dependency: transitive
14-
description: dart
15-
source: sdk
16-
version: "0.3.3"
11+
version: "67.0.0"
1712
analyzer:
1813
dependency: transitive
1914
description:
2015
name: analyzer
21-
sha256: "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e"
16+
sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d"
2217
url: "https://pub.dev"
2318
source: hosted
24-
version: "6.11.0"
19+
version: "6.4.1"
2520
args:
2621
dependency: transitive
2722
description:
@@ -50,10 +45,10 @@ packages:
5045
dependency: transitive
5146
description:
5247
name: build
53-
sha256: cef23f1eda9b57566c81e2133d196f8e3df48f244b317368d65c5943d91148f0
48+
sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0"
5449
url: "https://pub.dev"
5550
source: hosted
56-
version: "2.4.2"
51+
version: "2.4.1"
5752
build_config:
5853
dependency: transitive
5954
description:
@@ -74,26 +69,26 @@ packages:
7469
dependency: transitive
7570
description:
7671
name: build_resolvers
77-
sha256: "99d3980049739a985cf9b21f30881f46db3ebc62c5b8d5e60e27440876b1ba1e"
72+
sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a"
7873
url: "https://pub.dev"
7974
source: hosted
80-
version: "2.4.3"
75+
version: "2.4.2"
8176
build_runner:
8277
dependency: "direct dev"
8378
description:
8479
name: build_runner
85-
sha256: "74691599a5bc750dc96a6b4bfd48f7d9d66453eab04c7f4063134800d6a5c573"
80+
sha256: "028819cfb90051c6b5440c7e574d1896f8037e3c96cf17aaeb054c9311cfbf4d"
8681
url: "https://pub.dev"
8782
source: hosted
88-
version: "2.4.14"
83+
version: "2.4.13"
8984
build_runner_core:
9085
dependency: transitive
9186
description:
9287
name: build_runner_core
93-
sha256: "22e3aa1c80e0ada3722fe5b63fd43d9c8990759d0a2cf489c8c5d7b2bdebc021"
88+
sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0
9489
url: "https://pub.dev"
9590
source: hosted
96-
version: "8.0.0"
91+
version: "7.3.2"
9792
built_collection:
9893
dependency: transitive
9994
description:
@@ -114,10 +109,10 @@ packages:
114109
dependency: transitive
115110
description:
116111
name: characters
117-
sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
112+
sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b
118113
url: "https://pub.dev"
119114
source: hosted
120-
version: "1.4.0"
115+
version: "1.4.1"
121116
checked_yaml:
122117
dependency: transitive
123118
description:
@@ -170,10 +165,10 @@ packages:
170165
dependency: transitive
171166
description:
172167
name: dart_style
173-
sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab"
168+
sha256: "99e066ce75c89d6b29903d788a7bb9369cf754f7b24bf70bf4b6d6d6b26853b9"
174169
url: "https://pub.dev"
175170
source: hosted
176-
version: "2.3.7"
171+
version: "2.3.6"
177172
fake_async:
178173
dependency: transitive
179174
description:
@@ -248,10 +243,10 @@ packages:
248243
dependency: "direct main"
249244
description:
250245
name: fluttertoast
251-
sha256: "24467dc20bbe49fd63e57d8e190798c4d22cbbdac30e54209d153a15273721d1"
246+
sha256: "144ddd74d49c865eba47abe31cbc746c7b311c82d6c32e571fd73c4264b740e2"
252247
url: "https://pub.dev"
253248
source: hosted
254-
version: "8.2.10"
249+
version: "9.0.0"
255250
freezed_annotation:
256251
dependency: transitive
257252
description:
@@ -352,26 +347,26 @@ packages:
352347
dependency: transitive
353348
description:
354349
name: leak_tracker
355-
sha256: "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0"
350+
sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
356351
url: "https://pub.dev"
357352
source: hosted
358-
version: "10.0.9"
353+
version: "11.0.2"
359354
leak_tracker_flutter_testing:
360355
dependency: transitive
361356
description:
362357
name: leak_tracker_flutter_testing
363-
sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
358+
sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
364359
url: "https://pub.dev"
365360
source: hosted
366-
version: "3.0.9"
361+
version: "3.0.10"
367362
leak_tracker_testing:
368363
dependency: transitive
369364
description:
370365
name: leak_tracker_testing
371-
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
366+
sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
372367
url: "https://pub.dev"
373368
source: hosted
374-
version: "3.0.1"
369+
version: "3.0.2"
375370
lints:
376371
dependency: transitive
377372
description:
@@ -396,38 +391,30 @@ packages:
396391
url: "https://pub.dev"
397392
source: hosted
398393
version: "1.3.0"
399-
macros:
400-
dependency: transitive
401-
description:
402-
name: macros
403-
sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656"
404-
url: "https://pub.dev"
405-
source: hosted
406-
version: "0.1.3-main.0"
407394
matcher:
408395
dependency: transitive
409396
description:
410397
name: matcher
411-
sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
398+
sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
412399
url: "https://pub.dev"
413400
source: hosted
414-
version: "0.12.17"
401+
version: "0.12.18"
415402
material_color_utilities:
416403
dependency: transitive
417404
description:
418405
name: material_color_utilities
419-
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
406+
sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b"
420407
url: "https://pub.dev"
421408
source: hosted
422-
version: "0.11.1"
409+
version: "0.13.0"
423410
meta:
424411
dependency: transitive
425412
description:
426413
name: meta
427-
sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
414+
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
428415
url: "https://pub.dev"
429416
source: hosted
430-
version: "1.16.0"
417+
version: "1.17.0"
431418
mime:
432419
dependency: transitive
433420
description:
@@ -440,10 +427,10 @@ packages:
440427
dependency: "direct dev"
441428
description:
442429
name: mockito
443-
sha256: f99d8d072e249f719a5531735d146d8cf04c580d93920b04de75bef6dfb2daf6
430+
sha256: "6841eed20a7befac0ce07df8116c8b8233ed1f4486a7647c7fc5a02ae6163917"
444431
url: "https://pub.dev"
445432
source: hosted
446-
version: "5.4.5"
433+
version: "5.4.4"
447434
nested:
448435
dependency: transitive
449436
description:
@@ -464,10 +451,10 @@ packages:
464451
dependency: "direct main"
465452
description:
466453
name: package_info_plus
467-
sha256: "16eee997588c60225bda0488b6dcfac69280a6b7a3cf02c741895dd370a02968"
454+
sha256: f69da0d3189a4b4ceaeb1a3defb0f329b3b352517f52bed4290f83d4f06bc08d
468455
url: "https://pub.dev"
469456
source: hosted
470-
version: "8.3.1"
457+
version: "9.0.0"
471458
package_info_plus_platform_interface:
472459
dependency: transitive
473460
description:
@@ -764,10 +751,10 @@ packages:
764751
dependency: transitive
765752
description:
766753
name: test_api
767-
sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
754+
sha256: "19a78f63e83d3a61f00826d09bc2f60e191bf3504183c001262be6ac75589fb8"
768755
url: "https://pub.dev"
769756
source: hosted
770-
version: "0.7.4"
757+
version: "0.7.8"
771758
timing:
772759
dependency: transitive
773760
description:
@@ -860,10 +847,10 @@ packages:
860847
dependency: transitive
861848
description:
862849
name: vector_math
863-
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
850+
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
864851
url: "https://pub.dev"
865852
source: hosted
866-
version: "2.1.4"
853+
version: "2.2.0"
867854
vm_service:
868855
dependency: transitive
869856
description:
@@ -961,5 +948,5 @@ packages:
961948
source: hosted
962949
version: "3.1.3"
963950
sdks:
964-
dart: ">=3.8.0 <4.0.0"
951+
dart: ">=3.9.0-0 <4.0.0"
965952
flutter: ">=3.27.0"

0 commit comments

Comments
 (0)