buildF method

  1. @override
Widget buildF(
  1. BuildContext context
)
inherited

Implement this function instead of the build() function to utilize a built-in FutureBuilder Widget.

Implementation

@override
Widget buildF(BuildContext context) {
  _buildFOverridden = false;
  _builderState?.setState(() {}); // calls builder()
  if (_notifyClientsInBuild) {
    _inheritedState?.setState(() {}); // calls the InheritedWidget
  }
  return const _InheritedWidgetStatefulWidget();
}