StatefulWidgetBuilder typedef Null safety

Widget StatefulWidgetBuilder(
  1. BuildContext context,
  2. StateSetter setState
)

Signature for the builder callback used by StatefulBuilder.

Call setState to schedule the StatefulBuilder to rebuild.

Implementation

typedef StatefulWidgetBuilder = Widget Function(BuildContext context, StateSetter setState);