buildWidget method

  1. @override
Widget buildWidget(
  1. Widget child,
  2. AnimationController controller,
  3. AlignmentGeometry alignment
)
override

Implementation

@override
Widget buildWidget(
  Widget child,
  AnimationController controller,
  AlignmentGeometry alignment,
) {
  return Opacity(
    opacity: controller.value,
    child: child,
  );
}