| 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 6cd48e906d99daaa05a5c07fbbe31ce300735e7e..6f9f22297f1f054c80e6662e4218f801472bc27b 100644
|
| --- a/sky/sdk/example/widgets/card_collection.dart
|
| +++ b/sky/sdk/example/widgets/card_collection.dart
|
| @@ -18,7 +18,7 @@ import 'package:sky/widgets/widget.dart';
|
| class CardCollectionApp extends App {
|
|
|
| final TextStyle cardLabelStyle =
|
| - new TextStyle(color: White, fontSize: 18.0, fontWeight: bold);
|
| + 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,
|
| @@ -43,7 +43,7 @@ class CardCollectionApp extends App {
|
| Widget _builder(int index) {
|
| if (index >= visibleCardIndices.length)
|
| return null;
|
| -
|
| +
|
| int cardIndex = visibleCardIndices[index];
|
| Color color = lerpColor(Red[500], Blue[500], cardIndex / cardHeights.length);
|
| Widget label = new Text("Item ${cardIndex}", style: cardLabelStyle);
|
|
|