widget property

  1. @override
T get widget
inherited

You need to be able access the widget.

Implementation

@override
// ignore: avoid_as
T get widget => super.widget as T;