BuilderTransition no longer requires variables

Sometimes you want to just make a transition driven straight from the
performance's progress, rather than with an explicit variable.
This commit is contained in:
Hixie
2015-12-04 12:08:58 -08:00
parent eaab8fa18f
commit 4789ee36c3

View File

@@ -259,7 +259,7 @@ typedef Widget BuilderFunction(BuildContext context);
class BuilderTransition extends TransitionComponent {
BuilderTransition({
Key key,
this.variables,
this.variables: const <AnimatedValue>[],
this.builder,
PerformanceView performance
}) : super(key: key,