keep events/types.dart Flutter-free

`@immutable` lives in `package:meta/meta.dart` (transitive via the
flutter SDK); the file was importing `package:flutter/foundation.dart`
purely for that annotation, which pulls all of Flutter into the
transitive graph. Test files reaching DaemonBus / DaemonEvent through
`dart test` (not `flutter test`) then fail to compile because Flutter's
foundation depends on `dart:ui` types absent from the standalone VM.
Same spirit as 5cad982 — types that get touched by the IPC layer must
not drag the engine in.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-05-19 15:40:47 +02:00
co-authored by Claude
parent c56d76a77f
commit fad539ca63
+1 -1
View File
@@ -1,4 +1,4 @@
import 'package:flutter/foundation.dart';
import 'package:meta/meta.dart';
@immutable
abstract class ClideEvent {