Activity clean-up

Turns out Android crashes if the colour is not opaque, so we enforce
that at the Dart level.

Also, since label and colour are both actually optional, make them
named arguments.
This commit is contained in:
Ian Hickson
2016-01-16 11:43:57 -08:00
parent 5fdb074999
commit c03c4cca10
3 changed files with 14 additions and 8 deletions

View File

@@ -121,6 +121,6 @@ Pancetta meatball tongue tenderloin rump tail jowl boudin.""";
child: row
);
updateTaskDescription('Interactive Flex', topColor);
updateTaskDescription(label: 'Interactive Flex', color: topColor);
new DemoBinding(root: root);
}