redraw method

void redraw([
  1. dynamic callback()?
])
inherited

Force a call to render by calling setState, which effectively "redraws" the Component.

Optionally accepts a callback that gets called after the component updates.

Implementation

void redraw([Function()? callback]) {
  setState({}, callback);
}