Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
permission_handler
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songyanzhi
permission_handler
Commits
29d75861
Commit
29d75861
authored
Mar 16, 2020
by
Maurits van Beusekom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move analysis configuration to root of project
parent
e2b5252e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
permission_handler/analysis_options.yaml
+0
-6
permission_handler_platform_interface/lib/src/permission_handler_platform_interface.dart
+3
-2
No files found.
permission_handler/analysis_options.yaml
deleted
100644 → 0
View file @
e2b5252e
include
:
package:effective_dart/analysis_options.1.2.0.yaml
linter
:
rules
:
-
public_member_api_docs
\ No newline at end of file
permission_handler_platform_interface/lib/src/permission_handler_platform_interface.dart
View file @
29d75861
...
@@ -21,8 +21,9 @@ abstract class PermissionHandlerPlatform extends PlatformInterface {
...
@@ -21,8 +21,9 @@ abstract class PermissionHandlerPlatform extends PlatformInterface {
/// Defaults to [MethodChannelPermissionHandler].
/// Defaults to [MethodChannelPermissionHandler].
static
PermissionHandlerPlatform
get
instance
=>
_instance
;
static
PermissionHandlerPlatform
get
instance
=>
_instance
;
/// Platform-specific plugins should set this with their own platform-specific
/// Platform-specific plugins should set this with their own
/// class that extends [PermissionHandlerPlatform] when they register themselves.
/// platform-specific class that extends
/// [PermissionHandlerPlatform] when they register themselves.
static
set
instance
(
PermissionHandlerPlatform
instance
)
{
static
set
instance
(
PermissionHandlerPlatform
instance
)
{
PlatformInterface
.
verifyToken
(
instance
,
_token
);
PlatformInterface
.
verifyToken
(
instance
,
_token
);
_instance
=
instance
;
_instance
=
instance
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment