Skip to content

Commit f5cff12

Browse files
committed
fix lint
1 parent fefb14e commit f5cff12

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/permission_item_config.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class PermissionItemConfig {
2121
/// The display item configuration for these permission(s). Refer to [PermissionItemText] for details.
2222
final PermissionItemText itemText;
2323

24-
/// If the permission has an associated service (e.g. location) and this permission is required, this service will also be checked for availability.
24+
/// If the permission has an associated service (such as location) and this permission is required, this service will also be checked for availability.
2525
/// If service is unavailable and this item is not null, the disclosure page will show a disclosure item for this service, before `itemText`.
2626
/// Users will also be asked to enable the service.
2727
///

lib/src/test_stub.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'package:shared_preferences/shared_preferences.dart';
44

55
/// 3rd party libraries relies on static methods which are unmockable and hence untestable.
66
/// This service wraps those methods so that it can be tested.
7-
/// https://github.com/Baseflow/flutter-permission-handler/issues/262
7+
/// See https://github.com/Baseflow/flutter-permission-handler/issues/262 for details.
88
class TestStub {
99
const TestStub();
1010

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ dev_dependencies:
2121
flutter_test:
2222
sdk: flutter
2323
flutter_lints: ^2.0.0
24-
dart_code_metrics: ^5.0.1
24+
dart_code_metrics: ^5.4.0
2525
mockito: ^5.3.2
2626
build_runner: ^2.3.2

0 commit comments

Comments
 (0)