SetupFunction typedef

SetupFunction = WidgetBuilder

A function type that builds a widget from a BuildContext.

This is the return type of the SetupWidget.setup method. The returned builder function is called on each rebuild, while the setup function itself runs only once.

Implementation

typedef SetupFunction = WidgetBuilder;