widget property

Widget? get widget

The widget to be shown to the user as part of this task, if any. Note that the user interface may not be available before the onStart method has been called.

Implementation

Widget? get widget => null;