interpolate_animated 0.0.1 copy "interpolate_animated: ^0.0.1" to clipboard
interpolate_animated: ^0.0.1 copied to clipboard

Sometimes you need to map value from one range to another. This is where you should use interpolate functions which approximates values between points in the output range and lets you map value inside [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add interpolate_animated

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  interpolate_animated: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:interpolate_animated/interpolate_animated.dart';
7
likes
150
points
66
downloads

Publisher

unverified uploader

Weekly Downloads

Sometimes you need to map value from one range to another. This is where you should use interpolate functions which approximates values between points in the output range and lets you map value inside the input range to corresponded approximation in the output range. It also supports few types of Extrapolation to enable mapping outside the range.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on interpolate_animated