setState method

void setState(
  1. [VoidCallback callback]
)

Implementation

void setState([VoidCallback callback]) {
  if(callback!=null) {
    state.setState(callback);
  }else{
    state.setState((){});
  }
}