controller property Null safety

AnimationController? controller
final

Sets an AnimationController is case you need to do something specific with it like play/pause animation.

Implementation

final AnimationController? controller;