refreshState static method

bool refreshState(
  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 refreshState(StatefulWidget? widget) => setStateOf(widget, () {});