Fix warning in test. Arguments must be typed.

This commit is contained in:
Hixie
2015-10-19 16:06:46 -07:00
parent ed195cfa19
commit 4f96083e66

View File

@@ -11,7 +11,7 @@ Widget buildFrame({ List<String> tabs, bool isScrollable: false }) {
labels: tabs.map((String tab) => new TabLabel(text: tab)).toList(),
selectedIndex: selectedIndex,
isScrollable: isScrollable,
onChanged: (tabIndex) {
onChanged: (int tabIndex) {
selectedIndex = tabIndex;
}
);