loaded property

Future<void> get loaded
inherited

A future that completes when this component finishes loading.

If the component is already loaded (see isLoaded), this returns an already completed future.

Implementation

Future<void> get loaded {
  return isLoaded
      ? Future.value()
      : (_loadCompleter ??= Completer<void>()).future;
}