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

Unified Diff: sky/sdk/lib/widgets/fixed_height_scrollable.dart

Issue 1187563006: StockRow height, background color updates (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Plumb background color Created 5 years, 6 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
Index: sky/sdk/lib/widgets/fixed_height_scrollable.dart
diff --git a/sky/sdk/lib/widgets/fixed_height_scrollable.dart b/sky/sdk/lib/widgets/fixed_height_scrollable.dart
index e28c1907981211f66e65f277f57116ac0c5acf53..3336427d2b7dc61a648a3caa53a7b7ec68503012 100644
--- a/sky/sdk/lib/widgets/fixed_height_scrollable.dart
+++ b/sky/sdk/lib/widgets/fixed_height_scrollable.dart
@@ -12,7 +12,8 @@ import 'scrollable.dart';
abstract class FixedHeightScrollable extends Scrollable {
- FixedHeightScrollable({ this.itemHeight, Object key }) : super(key: key) {
+ FixedHeightScrollable({ this.itemHeight, Color backgroundColor, Object key })
+ : super(key: key, backgroundColor: backgroundColor) {
assert(itemHeight != null);
}
@@ -78,6 +79,6 @@ abstract class FixedHeightScrollable extends Scrollable {
);
}
- List<UINode> buildItems(int start, int count);
+ List<UINode> buildItems(int start, int count);
}

Powered by Google App Engine
This is Rietveld 408576698