animated_fractionally_sized_box: ^1.0.1 copied to clipboard
Animated version of FractionallySizedBox that gradually changes its values over a period of time.
Animated version of
FractionallySizedBox that gradually changes its values over a period of time.
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.
- Add this line to pubspec.yaml
dependencies: animated_fractionally_sized_box: ^1.0.0
- Import package
- Use it the same as a FractionallySizedBox
AnimatedFractionallySizedBox( widthFactor: widthFactor, heightFactor: heightFactor, alignment: Alignment.centerLeft, child: ... )
- See example for usage