Skip to content

sodality-tech/figma_spring_curve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages