18 lines
566 B
Dart
18 lines
566 B
Dart
import 'package:flutter/cupertino.dart';
|
|
|
|
import '../../about/internal/application/ServerProfile.dart';
|
|
import '../../about/internal/application/ServiceConfig.dart';
|
|
import 'LogsState.dart';
|
|
|
|
/// Read-only viewer plus lightweight service control: fetch, filter and
|
|
/// download logs, live-tail them, and start / stop / restart the unit.
|
|
class Logs extends StatefulWidget {
|
|
final ServerProfile server;
|
|
final ServiceConfig service;
|
|
|
|
const Logs({super.key, required this.server, required this.service});
|
|
|
|
@override
|
|
State<Logs> createState() => LogsState();
|
|
}
|