Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: sky/framework/components/fixed_height_scrollable.dart

Issue 1005633002: Factor ScrollCurve out of Scrollable (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/framework/animation/scroll_curve.dart ('k') | sky/framework/components/scrollable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/fixed_height_scrollable.dart
diff --git a/sky/framework/components/fixed_height_scrollable.dart b/sky/framework/components/fixed_height_scrollable.dart
index fcb36da06c1763aa12e2261b34e21d582d93a913..4f3a9d9116cc7d9af231266704b5f335f667e536 100644
--- a/sky/framework/components/fixed_height_scrollable.dart
+++ b/sky/framework/components/fixed_height_scrollable.dart
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+import '../animation/scroll_curve.dart';
import '../fn.dart';
import 'dart:sky' as sky;
import 'scrollable.dart';
@@ -27,10 +28,8 @@ abstract class FixedHeightScrollable extends Scrollable {
FixedHeightScrollable({
Object key,
- double minOffset,
- double maxOffset
- }) : super(key: key, minOffset: minOffset, maxOffset: maxOffset) {
- }
+ ScrollCurve scrollCurve
+ }) : super(key: key, scrollCurve: scrollCurve);
void didMount() {
super.didMount();
« no previous file with comments | « sky/framework/animation/scroll_curve.dart ('k') | sky/framework/components/scrollable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698