feat(logs): copy selected entries #511

This commit is contained in:
zarzet committed 2026-08-11 16:12:05 +07:00
1 parent e750c195ca
commit dacc5abde0
3 files changed
+394 -141

No files matched your search

+4
View File
@@ -101,6 +101,10 @@ class LogEntry {
}
}
String formatLogEntries(Iterable<LogEntry> entries) {
return entries.map((entry) => entry.toString()).join('\n');
}
class LogBuffer extends ChangeNotifier {
static final LogBuffer _instance = LogBuffer._internal();
factory LogBuffer() => _instance;