setAppStatefulWidget method

bool setAppStatefulWidget(
  1. AppStatefulWidget appWidget
)

Assign the AppStateful object

Implementation

bool setAppStatefulWidget(v.AppStatefulWidget appWidget) {
  // Only assigned once with the first call.
  _appWidget ??= appWidget;
  return appWidget != null;
}