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
6cd552fe
Commit
6cd552fe
authored
Mar 17, 2017
by
Adam Barth
Committed by
GitHub
Mar 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a couple dartdocs (#8841)
parent
60bb5d43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
scroll_physics.dart
packages/flutter/lib/src/widgets/scroll_physics.dart
+4
-0
No files found.
packages/flutter/lib/src/widgets/scroll_physics.dart
View file @
6cd552fe
...
...
@@ -27,6 +27,7 @@ export 'scroll_position.dart' show ScrollPhysics;
/// * [ClampingScrollPhysics], which is the analogous physics for Android's
/// clamping behavior.
class
BouncingScrollPhysics
extends
ScrollPhysics
{
/// Creates scroll physics that bounce back from the edge.
const
BouncingScrollPhysics
({
ScrollPhysics
parent
})
:
super
(
parent
);
@override
...
...
@@ -97,6 +98,8 @@ class BouncingScrollPhysics extends ScrollPhysics {
/// provide the glowing effect that is usually found with this clamping effect
/// on Android.
class
ClampingScrollPhysics
extends
ScrollPhysics
{
/// Creates scroll physics that prevent the scroll offset from exceeding the
/// bounds of the content..
const
ClampingScrollPhysics
({
ScrollPhysics
parent
})
:
super
(
parent
);
@override
...
...
@@ -158,6 +161,7 @@ class ClampingScrollPhysics extends ScrollPhysics {
/// * [ClampingScrollPhysics], which provides the clamping overscroll behavior
/// found on Android.
class
AlwaysScrollableScrollPhysics
extends
ScrollPhysics
{
/// Creates scroll physics that always lets the user scroll.
const
AlwaysScrollableScrollPhysics
({
ScrollPhysics
parent
})
:
super
(
parent
);
@override
...
...
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