Supercharged is an extension function package for Flutter. It adds some cool functions you might know from other languages to the Flutter world.

With it’s recent update 1.3.0 it added some tweening shortcuts. Let’s have a look at the following scenario:

Our Flutter app should animate the size of a box, like this:

An orange box changing it’s size of the time.

We can now simply add a tween by writing:

final _sizeTween = 100.0.tweenTo(200.0);

That also works with integers and colors: