state method

  1. @override
Widget state(
  1. WidgetBuilder? widgetFunc
)
inherited

Called when the State's InheritedWidget is called again This 'widget function' will be called again.

Implementation

@override
Widget state(WidgetBuilder? widgetFunc) {
  widgetFunc ??= (_) => const SizedBox(); // Display 'nothing' if not provided
  return _SetStateXWidget(stateX: this, widgetFunc: widgetFunc);
}