Skip to content

Commit fefb14e

Browse files
committed
fix lint
1 parent 539139b commit fefb14e

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

lib/permission_item_config.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ 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,
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 (e.g. 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`.
2826
/// Users will also be asked to enable the service.
2927
///
3028
/// *Note*: This is used only when `required` is true.

lib/src/test_stub.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import 'package:app_settings/app_settings.dart';
22
import 'package:permission_handler/permission_handler.dart';
33
import 'package:shared_preferences/shared_preferences.dart';
44

5-
/// 3rd party libraries relies too many on static methods which are unmockable
6-
/// and hence untestable. This service wraps those methods
7-
/// so that it can be tested.
5+
/// 3rd party libraries relies on static methods which are unmockable and hence untestable.
6+
/// This service wraps those methods so that it can be tested.
87
/// https://github.com/Baseflow/flutter-permission-handler/issues/262
98
class TestStub {
109
const TestStub();

0 commit comments

Comments
 (0)