AnimatedWidget constructor

const AnimatedWidget({
  1. Key? key,
  2. required Listenable listenable,
})

Creates a widget that rebuilds when the given listenable changes.

The listenable argument is required.

Implementation

const AnimatedWidget({super.key, required this.listenable});