OpacityTransition constructor
const
OpacityTransition({})
It is a FadeTransition but this will be shown when receiving a Boolean value.
Implementation
const OpacityTransition({
Key? key,
required this.visible,
required this.child,
this.duration = const Duration(milliseconds: 200),
this.curve = Curves.linear,
}) : super(key: key);