1. override
Widget build(BuildContext context)

Override this method to build widgets that depend on the current value of the animation.

Source

@override
Widget build(BuildContext context) {
  return new Opacity(opacity: opacity.value, child: child);
}