widget property

Widget? widget
final

Gives ability to pass custom widget in any state.

Implementation

final Widget? widget;