You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: analysis_options.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -183,7 +183,7 @@ dart_code_metrics:
183
183
- lib/main.dart
184
184
rules:
185
185
# Common
186
-
- avoid-banned-imports # Configure some imports that you want to ban, ref: https://dartcodemetrics.dev/docs/rules/common/avoid-banned-imports
186
+
#- avoid-banned-imports # Configure some imports that you want to ban, ref: https://dartcodemetrics.dev/docs/rules/common/avoid-banned-imports
187
187
- avoid-collection-methods-with-unrelated-types # Avoid using collection methods with unrelated types, such as accessing a map of integers using a string key.
188
188
- avoid-duplicate-exports # Warns when a file has multiple exports declarations with the same URI.
189
189
# - avoid-dynamic # Warns when the dynamic type is used as a variable type in a declaration, return type of a function, etc. Using dynamic is considered unsafe since it can easily result in runtime errors.
@@ -203,7 +203,7 @@ dart_code_metrics:
203
203
- avoid-unused-parameters: # Checks for unused parameters inside a function or method body. For overridden methods suggests renaming unused parameters to _, __, etc.
204
204
exclude:
205
205
- lib/**/*bloc.dart
206
-
- ban-name # Configure some names that you want to ban, ref: https://dartcodemetrics.dev/docs/rules/common/ban-name
206
+
#- ban-name # Configure some names that you want to ban, ref: https://dartcodemetrics.dev/docs/rules/common/ban-name
207
207
- binary-expression-operand-order # Warns when a literal value is on the left hand side in a binary expressions, inspired by https://palantir.github.io/tslint/rules/binary-expression-operand-order/
208
208
- double-literal-format # Checks that double literals should begin with 0. instead of just ., and should not end with a trailing 0. Helps keep a consistent style of numeric literals and decrease potential typos.
209
209
- format-comment # Prefer format comments like sentences.
Copy file name to clipboardExpand all lines: lib/permission_item_config.dart
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,8 @@ class PermissionItemConfig {
21
21
/// The display item configuration for these permission(s). Refer to [PermissionItemText] for details.
22
22
finalPermissionItemText itemText;
23
23
24
-
/// If the permission has an associated service (e.g. location) and this permission is required,
25
-
/// this service will also be checked for availability.
26
-
/// If service is unavailable and this item is not null, the disclosure page will
27
-
/// show a disclosure item for this service, before `itemText`.
24
+
/// If the permission has an associated service (such as location) and this permission is required, this service will also be checked for availability.
25
+
/// If service is unavailable and this item is not null, the disclosure page will show a disclosure item for this service, before `itemText`.
28
26
/// Users will also be asked to enable the service.
29
27
///
30
28
/// *Note*: This is used only when `required` is true.
0 commit comments