-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Use case
It would be nice if we could define a box which spins forever in a style
Proposal
BoxStyler().phaseAnimation(
running: true, // If set to true, this style will run from "start" -> "end" -> "start" ...
phases: ["start", "end"],
styleBuilder: (phase, style) {
if (phase == "start") {
return style.rotate(0);
}
return style.rotate(360);
},
configBuilder: (phase) {
return CurveAnimationConfig.linear(Duration(seconds: 1));
},
);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels