feat(logs): copy selected entries #511

This commit is contained in:
zarzet
2026-08-11 16:12:05 +07:00
parent e750c195ca
commit dacc5abde0
3 changed files with 394 additions and 141 deletions
+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;