| Index: sky/sdk/example/widgets/card_collection.dart
|
| diff --git a/sky/sdk/example/widgets/card_collection.dart b/sky/sdk/example/widgets/card_collection.dart
|
| index e20648c21fe46294808986c7ebb01127763a15fc..ef6d82d8fc55d132187f56821f90098a5b2ef82b 100644
|
| --- a/sky/sdk/example/widgets/card_collection.dart
|
| +++ b/sky/sdk/example/widgets/card_collection.dart
|
| @@ -47,8 +47,8 @@ class VariableHeightScrollable extends Scrollable {
|
|
|
| void _handleSizeChanged(Size newSize) {
|
| setState(() {
|
| - scrollBehavior.containerHeight = newSize.height;
|
| - scrollBehavior.contentsHeight = 5000.0;
|
| + scrollBehavior.containerSize = newSize.height;
|
| + scrollBehavior.contentsSize = 5000.0;
|
| });
|
| }
|
|
|
| @@ -70,13 +70,13 @@ class CardCollectionApp extends App {
|
| new TextStyle(color: White, fontSize: 18.0, fontWeight: bold);
|
|
|
| final List<double> cardHeights = [
|
| - 48.0, 64.0, 82.0, 46.0, 60.0, 55.0, 84.0, 96.0, 50.0,
|
| + 48.0, 64.0, 82.0, 46.0, 60.0, 55.0, 84.0, 96.0, 50.0,
|
| 48.0, 64.0, 82.0, 46.0, 60.0, 55.0, 84.0, 96.0, 50.0,
|
| 48.0, 64.0, 82.0, 46.0, 60.0, 55.0, 84.0, 96.0, 50.0
|
| ];
|
|
|
| List<int> visibleCardIndices;
|
| -
|
| +
|
| CardCollectionApp() {
|
| _activeCardTransform = new AnimatedContainer()
|
| ..position = new AnimatedType<Point>(Point.origin)
|
|
|