Skip to content

Commit e8957bf

Browse files
Sahil-Simformaditya-css
authored andcommitted
fix: 🐛 Fixed analysis option issue
1 parent a4a73a4 commit e8957bf

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/flutter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
- name: Code Analyse
3434
run: dart analyze
3535
- name: Check Publish Warnings
36-
run: flutter pub publish --dry-run
36+
run: flutter pub publish --dry-run

analysis_options.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
include: package:flutter_lints/flutter.yaml
22

33
analyzer:
4-
strong-mode:
5-
implicit-casts: false
6-
implicit-dynamic: false
4+
language:
5+
strict-inference: true
6+
strict-raw-types: true
77
errors:
88
argument_type_not_assignable: error
99
invalid_assignment: error

lib/src/showcase/showcase_controller.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ class ShowcaseController {
200200
void handleBarrierTap() {
201201
config.onBarrierClick?.call();
202202
if (showcaseView.disableBarrierInteraction ||
203-
config.disableBarrierInteraction) return;
203+
config.disableBarrierInteraction) {
204+
return;
205+
}
204206
_nextIfAny();
205207
}
206208

0 commit comments

Comments
 (0)