figma_spring_curve 1.0.0+1 copy "figma_spring_curve: ^1.0.0+1" to clipboard
figma_spring_curve: ^1.0.0+1 copied to clipboard

Dart implementation of figma's spring curves. Also includes 4 prebuilt spring curves

Figma Spring Curve #

License: MIT pub package

Dart implementation of figma's spring curves, and a collection of their built in spring curves.

Based on Figma's blog post about spring animations

Features #

  • FigmaSpringCurve class that allows you to define a spring curve using stiffness, damping and mass
  • 4 Predefined curves that are built-in on figma

Getting started #

  • Run flutter pub add figma_spring_curve

Usage #

final curve = FigmaSpringCurve(300, 20, 1);
final bouncyCurve = FigmaSpringCurve.bouncy;

Additional information #

  • This packaged was developed in house by the developers of Ping
  • Feel free to file issues on Github!
4
likes
150
points
9
downloads

Publisher

unverified uploader

Weekly Downloads

Dart implementation of figma's spring curves. Also includes 4 prebuilt spring curves

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on figma_spring_curve