widget property
You need to be able access the widget.
Implementation
@override
// ignore: avoid_as
T get widget => parentState?.widget as T;
You need to be able access the widget.
@override
// ignore: avoid_as
T get widget => parentState?.widget as T;