:drunk: Wrote some useless code

This commit is contained in:
2026-01-18 14:16:29 +08:00
parent 639417e952
commit a39853ba5a
14 changed files with 275 additions and 65 deletions

View File

@@ -82,7 +82,14 @@ class PluginRegistry {
}
final runtime = Runtime(ByteData.sublistView(bytecode));
runtime.addPlugin(flutterEvalPlugin);
if (flutterEvalPlugin != null) {
try {
runtime.addPlugin(flutterEvalPlugin);
talker.info('[PluginRegistry] FlutterEvalPlugin added to runtime');
} catch (e) {
talker.error('[PluginRegistry] Failed to add FlutterEvalPlugin: $e');
}
}
if (onProgress != null) {
onProgress(0.8, 'Building entry widget...');