lerp 0.0.2 copy "lerp: ^0.0.2" to clipboard
lerp: ^0.0.2 copied to clipboard

Linearly interpolate between two numbers, boolean, or enum by an extrapolation factor.

example/README.md

lerpDouble(1.1, 5.5, 0.5);
lerpInt(1, 5, 0.7);
lerpBool(true, false, 0.4);
lerpEnum(CrossAxisAlignment.start, CrossAxisAlignment.end, 0.6);
0
likes
160
pub points
6%
popularity

Publisher

verified publisherwidgetarian.com

Linearly interpolate between two numbers, boolean, or enum by an extrapolation factor.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on lerp