DisposableAnimatedWidget constructor

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

Creates a widget that rebuilds when the given listenable changes.

The listenable argument is required.

Implementation

DisposableAnimatedWidget({
  Key? key,
  required this.listenable,
}) : super(key: key);