state method

  1. @Deprecated('Use stateSet() instead.')
  2. @override
Widget state(
  1. WidgetBuilder? widgetFunc
)
inherited

Implementation

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