globalOnBusy property

GlobalBusyBuilder globalOnBusy
getter/setter pair

This is called when there is an busy state but no onBusy is defined

Implementation

static GlobalBusyBuilder globalOnBusy = (_, __, lastStateBuild) {
  if (lastStateBuild != null) {
    return lastStateBuild;
  }

  return Center(
    child: SizedBox(
      width: 40,
      height: 40,
      child: CircularProgressIndicator.adaptive(),
    ),
  );
};