change static method

void Function() change()

Returns a function that is intended to be used as a function to change the state of a component.

Implementation

static void Function() change() {
  return VComponent.run((vComponent) {
    return () {
      VRenderer.render(vComponent);
    };
  });
}