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
ea8e6161
Unverified
Commit
ea8e6161
authored
Mar 02, 2021
by
Michael Goderbauer
Committed by
GitHub
Mar 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable null_closures (#77095)
parent
7e017d31
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
analysis_options.yaml
analysis_options.yaml
+1
-1
motion_events_page.dart
...tegration_tests/android_views/lib/motion_events_page.dart
+2
-2
motion_events_page.dart
...on_tests/hybrid_android_views/lib/motion_events_page.dart
+2
-2
No files found.
analysis_options.yaml
View file @
ea8e6161
...
@@ -134,7 +134,7 @@ linter:
...
@@ -134,7 +134,7 @@ linter:
# - no_runtimeType_toString # ok in tests; we enable this only in packages/
# - no_runtimeType_toString # ok in tests; we enable this only in packages/
-
non_constant_identifier_names
-
non_constant_identifier_names
-
null
_check_on_nullable_type_parameter
-
null
_check_on_nullable_type_parameter
# - null_closures # not required by flutter style
-
null
_closures
# - omit_local_variable_types # opposite of always_specify_types
# - omit_local_variable_types # opposite of always_specify_types
# - one_member_abstracts # too many false positives
# - one_member_abstracts # too many false positives
# - only_throw_errors # https://github.com/flutter/flutter/issues/5792
# - only_throw_errors # https://github.com/flutter/flutter/issues/5792
...
...
dev/integration_tests/android_views/lib/motion_events_page.dart
View file @
ea8e6161
...
@@ -227,7 +227,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
...
@@ -227,7 +227,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
setState
(()
{});
setState
(()
{});
break
;
break
;
}
}
return
Future
<
dynamic
>.
sync
(
null
);
return
Future
<
dynamic
>.
value
(
null
);
}
}
Future
<
dynamic
>
onViewMethodChannelCall
(
MethodCall
call
)
{
Future
<
dynamic
>
onViewMethodChannelCall
(
MethodCall
call
)
{
...
@@ -240,7 +240,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
...
@@ -240,7 +240,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
setState
(()
{});
setState
(()
{});
break
;
break
;
}
}
return
Future
<
dynamic
>.
sync
(
null
);
return
Future
<
dynamic
>.
value
(
null
);
}
}
Widget
buildEventTile
(
BuildContext
context
,
int
index
)
{
Widget
buildEventTile
(
BuildContext
context
,
int
index
)
{
...
...
dev/integration_tests/hybrid_android_views/lib/motion_events_page.dart
View file @
ea8e6161
...
@@ -199,7 +199,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
...
@@ -199,7 +199,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
setState
(()
{});
setState
(()
{});
break
;
break
;
}
}
return
Future
<
dynamic
>.
sync
(
null
);
return
Future
<
dynamic
>.
value
(
null
);
}
}
Future
<
dynamic
>
onViewMethodChannelCall
(
MethodCall
call
)
{
Future
<
dynamic
>
onViewMethodChannelCall
(
MethodCall
call
)
{
...
@@ -212,7 +212,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
...
@@ -212,7 +212,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
setState
(()
{});
setState
(()
{});
break
;
break
;
}
}
return
Future
<
dynamic
>.
sync
(
null
);
return
Future
<
dynamic
>.
value
(
null
);
}
}
Widget
buildEventTile
(
BuildContext
context
,
int
index
)
{
Widget
buildEventTile
(
BuildContext
context
,
int
index
)
{
...
...
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