BooleanTween<T> constructor
const
BooleanTween<T> ({})
It is an AnimatedBuilder. If it is TRUE, it will execute the Tween from begin to end (controller.forward()), if it is FALSE it will execute the Tween from end to begin (controller.reverse())
Implementation
const BooleanTween({
Key? key,
required this.animate,
required this.builder,
this.child,
this.curve = Curves.linear,
this.duration = const Duration(milliseconds: 200),
this.reverseCurve,
this.reverseDuration,
required this.tween,
}) : super(key: key);