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
412e329a
Unverified
Commit
412e329a
authored
Dec 16, 2021
by
Sam Rawlins
Committed by
GitHub
Dec 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct missing return statements in nullably-typed functions (#95428)
parent
dc8c7a4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
action.action_overridable.0.dart
.../api/lib/widgets/actions/action.action_overridable.0.dart
+2
-1
ide_config.dart
packages/flutter_tools/lib/src/commands/ide_config.dart
+2
-0
No files found.
examples/api/lib/widgets/actions/action.action_overridable.0.dart
View file @
412e329a
...
...
@@ -43,6 +43,7 @@ class DigitInputState extends State<DigitInput> {
onInvoke:
(
DeleteCharacterIntent
intent
)
{
// For simplicity we delete everything in the section.
widget
.
controller
.
clear
();
return
null
;
},
);
...
...
@@ -84,7 +85,7 @@ class _DeleteDigit extends Action<DeleteCharacterIntent> {
final
_SimpleUSPhoneNumberEntryState
state
;
@override
Object
?
invoke
(
DeleteCharacterIntent
intent
)
{
void
invoke
(
DeleteCharacterIntent
intent
)
{
assert
(
callingAction
!=
null
);
callingAction
?.
invoke
(
intent
);
...
...
packages/flutter_tools/lib/src/commands/ide_config.dart
View file @
412e329a
...
...
@@ -273,4 +273,6 @@ String? _validateFlutterDir(String dirPath, { String? flutterRoot }) {
case
FileSystemEntityType
.
notFound
:
return
null
;
}
// In the case of any other [FileSystemEntityType]s, like the deprecated ones, return null.
return
null
;
}
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