StatefulBuilder constructor

const StatefulBuilder({
  1. Key? key,
  2. required StatefulWidgetBuilder builder,
})

Creates a widget that both has state and delegates its build to a callback.

Implementation

const StatefulBuilder({
  super.key,
  required this.builder,
});