createState method Null safety

  1. @override
State<AnimatedWidget> createState()
override

Subclasses typically do not override this method.

Implementation

@override
State<AnimatedWidget> createState() => _AnimatedState();