flet icon indicating copy to clipboard operation
flet copied to clipboard

Feature: support flutter animation/tweening

Open hololeo opened this issue 3 years ago • 1 comments

Implicit animations:

  • [x] AnimatedContainer: alignment, width, height, bgcolor, gradient, padding, margin, border_radius, border
  • [x] AnimatedOpacity - all visible controls
  • [x] AnimatedSize - all controls, check Image for special case.
  • [x] AnimatedRotation - all controls
  • [x] AnimatedScale - all controls
  • [x] AnimatedPositioned - all controls
  • [x] AnimatedSlide - all controls
  • [x] AnimatedSwitcher (separate control)

Curves: https://api.flutter.dev/flutter/animation/Curves-class.html

So much of UX is in UI animations....fading in controls, sliding panels, etc.

Flutter has rich support for this and Flet should too

Good starting points would be:

  • position
  • size
  • rotation
  • scale
  • opacity / color

https://api.flutter.dev/flutter/animation/animation-library.html https://api.flutter.dev/flutter/animation/Tween-class.html https://docs.flutter.dev/development/ui/animations https://pub.dev/packages/animations

hololeo avatar Jul 28 '22 19:07 hololeo

Duplicate for https://github.com/flet-dev/flet/issues/18

OK, let's keep yours one, but add my links too :)

FeodorFitsner avatar Jul 29 '22 05:07 FeodorFitsner