Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
e77674c6
Commit
e77674c6
authored
Mar 14, 2016
by
Ian Hickson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2672 from Hixie/ignore-lint
Update .analysis_options to link to blocking bugs
parents
cb620718
74b117fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
11 deletions
+26
-11
activity.dart
packages/flutter/lib/src/services/activity.dart
+21
-6
.analysis_options
packages/flutter_tools/.analysis_options
+5
-5
No files found.
packages/flutter/lib/src/services/activity.dart
View file @
e77674c6
...
...
@@ -11,14 +11,29 @@ import 'binding.dart';
export
'package:sky_services/activity/activity.mojom.dart'
;
/// Dart wrapper around Activity mojo service available in Flutter on Android.
// Dart wrapper around Activity mojo service available in Flutter on Android.
//
// Most clients will want to use these methods instead of the activity service
// directly.
// The constants below are from
// http://developer.android.com/reference/android/content/Intent.html
/// Open a document into a new task rooted at the activity launched by
/// this Intent.
///
/// See Android's Intent.FLAG_ACTIVITY_NEW_DOCUMENT.
const
int
NEW_DOCUMENT
=
0x00080000
;
// ignore: constant_identifier_names
/// Start a new task on this history stack.
///
///
Most clients will want to use these methods instead of the activity service
/// directly.
///
See Android's Intent.FLAG_ACTIVITY_NEW_TASK.
const
int
NEW_TASK
=
0x10000000
;
// ignore: constant_identifier_names
const
int
NEW_DOCUMENT
=
0x00080000
;
const
int
NEW_TASK
=
0x10000000
;
const
int
MULTIPLE_TASK
=
0x08000000
;
/// Create a new task and launch an activity into it.
///
/// See Android's Intent.FLAG_ACTIVITY_MULTIPLE_TASK.
const
int
MULTIPLE_TASK
=
0x08000000
;
// ignore: constant_identifier_names
ActivityProxy
_initActivityProxy
(
)
{
ActivityProxy
activity
=
new
ActivityProxy
.
unbound
();
...
...
packages/flutter_tools/.analysis_options
View file @
e77674c6
...
...
@@ -25,16 +25,16 @@ linter:
# - annotate_overrides # still a lot of work to do before enabling this one
# - avoid_as # https://github.com/dart-lang/linter/issues/195
- avoid_init_to_null
# - avoid_return_types_on_setters #
still a lot of work to do before enabling this one
# - avoid_return_types_on_setters #
https://github.com/dart-lang/linter/issues/202
- camel_case_types
# - constant_identifier_names #
still a lot of work to do before enabling this one
# - constant_identifier_names #
https://github.com/dart-lang/linter/issues/204 (and 203)
- empty_constructor_bodies
- hash_and_equals
# - implementation_imports #
"// ignore:" isn't working yet
# - implementation_imports #
https://github.com/dart-lang/linter/issues/203
- library_names
- library_prefixes
- non_constant_identifier_names
# - one_member_abstracts #
"// ignore:" isn't working yet
# - one_member_abstracts #
https://github.com/dart-lang/linter/issues/203
- package_api_docs
- package_names
- package_prefixed_library_names
...
...
@@ -44,7 +44,7 @@ linter:
- sort_constructors_first
- sort_unnamed_constructors_first
- super_goes_last
# - type_annotate_public_apis # see always_specify_types, which this is a subset of
- type_annotate_public_apis # subset of always_specify_types
- type_init_formals
- unnecessary_brace_in_string_interp
- unnecessary_getters_setters
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