animated_fractionally_sized_box

Creator: coderz1093

Last updated:

Add to Cart

Description:

animated fractionally sized box

animated_fractionally_sized_box #
Animated version of FractionallySizedBox that gradually changes its values over a period of time.
Description #
The AnimatedFractionallySizedBox will automatically animate between the old and new values of properties when they change using the provided curve and duration. Properties that are null are not animated. Its child and descendants are not animated.
Usage #

Add this line to pubspec.yaml

dependencies:
animated_fractionally_sized_box: ^2.0.1
copied to clipboard

Import package

import 'package:animated_fractionally_sized_box/animated_fractionally_sized_box.dart';
copied to clipboard

Use it the same as a FractionallySizedBox

AnimatedFractionallySizedBox(
widthFactor: widthFactor,
heightFactor: heightFactor,
alignment: Alignment.centerLeft,
child: ...
)
copied to clipboard

See example for usage

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.