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
05e200f1
Commit
05e200f1
authored
Jul 15, 2016
by
Hans Muller
Committed by
GitHub
Jul 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some typos (#4929)
parent
5f7b8999
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
14 deletions
+11
-14
overscroll_demo.dart
examples/flutter_gallery/lib/demo/overscroll_demo.dart
+9
-12
binding.dart
packages/flutter/lib/src/scheduler/binding.dart
+1
-1
navigator.dart
packages/flutter/lib/src/widgets/navigator.dart
+1
-1
No files found.
examples/flutter_gallery/lib/demo/overscroll_demo.dart
View file @
05e200f1
...
...
@@ -31,18 +31,15 @@ class OverscrollDemoState extends State<OverscrollDemo> {
Completer
<
Null
>
completer
=
new
Completer
<
Null
>();
new
Timer
(
new
Duration
(
seconds:
3
),
()
{
completer
.
complete
(
null
);
});
return
completer
.
future
.
then
((
_
)
{
final
ScaffoldState
scaffoldState
=
_scaffoldKey
.
currentState
;
if
(
scaffoldState
!=
null
)
{
scaffoldState
.
showSnackBar
(
new
SnackBar
(
content:
new
Text
(
"Refresh complete"
),
action:
new
SnackBarAction
(
label:
'RETRY'
,
onPressed:
()
{
_refreshIndicatorKey
.
currentState
.
show
();
}
)
));
}
_scaffoldKey
.
currentState
?.
showSnackBar
(
new
SnackBar
(
content:
new
Text
(
"Refresh complete"
),
action:
new
SnackBarAction
(
label:
'RETRY'
,
onPressed:
()
{
_refreshIndicatorKey
.
currentState
.
show
();
}
)
));
});
}
...
...
packages/flutter/lib/src/scheduler/binding.dart
View file @
05e200f1
...
...
@@ -344,7 +344,7 @@ abstract class SchedulerBinding extends BindingBase {
_postFrameCallbacks
.
add
(
callback
);
}
/// Whether this scheduler as requested that handleBeginFrame be called soon.
/// Whether this scheduler
h
as requested that handleBeginFrame be called soon.
bool
get
hasScheduledFrame
=>
_hasScheduledFrame
;
bool
_hasScheduledFrame
=
false
;
...
...
packages/flutter/lib/src/widgets/navigator.dart
View file @
05e200f1
...
...
@@ -157,7 +157,7 @@ class NavigatorObserver {
/// The [Navigator] pushed the given route.
void
didPush
(
Route
<
dynamic
>
route
,
Route
<
dynamic
>
previousRoute
)
{
}
/// T
H
e [Navigator] popped the given route.
/// T
h
e [Navigator] popped the given route.
void
didPop
(
Route
<
dynamic
>
route
,
Route
<
dynamic
>
previousRoute
)
{
}
}
...
...
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