dromara/newcar

`AnimationBuilder` for animation group creation

wgxh-cli opened this issue · 0 comments

Features

// The call of `tree` creates a builder instance for animation chaining
tree(create, { duration: 1 })
  // `and` means play in `async` mode
  .and(move, { start: 1, duration: 1, to: [400, 400] })
  // `then` means play in 'sync' mode
  .then(scale, { duration: 2, to: [2, 2] })
  .and(fadeOut, { duration: 2 })
  .build(widget)

Can this be added?