INNER CODE UNIT · Dart

NotFoundTargetException

RafaelBarbosatec/tutorial_coach_mark · lib/src/util.dart:111

class NotFoundTargetException extends FormatException {
  NotFoundTargetException(identify)
      : super('It was not possible to obtain target position ($identify).');
}

/// Schedules a callback to run after the current frame.
///
/// This is useful for deferring operations until after the widget tree
/// has been built and painted. Commonly used for initialization tasks
/// that require the widget to be fully rendered.
void postFrame(VoidCallback callback) {
  Future.delayed(Duration.zero, callback);
}

/// Extension on nullable types to provide safe callback execution.
extension NullableExt<T> on T? {
  /// Executes the callback only if the value is not null.
  ///

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…