Skip to content

Commit

Permalink
chore/update analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
nank1ro committed Apr 22, 2024
1 parent 3b6e49b commit 4ceaf66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/flutter_solidart/example/analysis_options.yaml
Expand Up @@ -24,6 +24,7 @@ linter:
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
implicit_call_tearoffs: false

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_solidart/lib/src/widgets/show.dart
Expand Up @@ -97,8 +97,8 @@ class _ShowState<T extends bool> extends State<Show<T>> {
void initState() {
super.initState();
disposeEffect = Effect((_) {
show.value = widget.when.call();
});
show.value = widget.when();
}).call;
}

@override
Expand Down

0 comments on commit 4ceaf66

Please sign in to comment.