rebuildState static method

bool rebuildState(
  1. StatefulWidget? widget
)

Call setState() from the State object from the specified StatefulWidget Return true if successful Usually called in the StatefulWidget passing 'this' as a parameter.

Implementation

static bool rebuildState(StatefulWidget? widget) => setStateOf(widget, () {});