AnimatedWidget constructor Null safety
- {Key? key,
- 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,
}) : assert(listenable != null);