morph method

void morph(
  1. void updater()
)

Implementation

void morph(void Function() updater) {
  updater();
  update();
}