yRun function

void yRun(
  1. dynamic action(), {
  2. dynamic delay = 0,
})

主线程运行

Implementation

void yRun(Function() action, {delay = 0}) {
  _getPlugin()!.runOnUIThread(delay, action);
}