ISpectLoadLogContentCallback typedef

ISpectLoadLogContentCallback = Future<String?> Function(BuildContext context)

Invoked when the log viewer needs to load log content from an external source (file picker, clipboard, URL, etc.).

Return the raw log content as a string, or null if the user cancelled.

Implementation

typedef ISpectLoadLogContentCallback =
    Future<String?> Function(BuildContext context);