5#ifndef FLUTTER_LIB_UI_DART_RUNTIME_HOOKS_H_
6#define FLUTTER_LIB_UI_DART_RUNTIME_HOOKS_H_
8#include "flutter/fml/macros.h"
9#include "third_party/dart/runtime/include/dart_api.h"
16 static void Install(
bool is_ui_isolate,
const std::string& script_uri);
static Dart_Handle GetCallbackHandle(Dart_Handle func)
static Dart_Handle GetCallbackFromHandle(int64_t handle)
static void ScheduleMicrotask(Dart_Handle closure)
static void Logger_PrintDebugString(const std::string &message)
static void Logger_PrintString(const std::string &message)
static void Install(bool is_ui_isolate, const std::string &script_uri)
struct _Dart_Handle * Dart_Handle
void DartPluginRegistrant_EnsureInitialized()
std::function< void()> closure