mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Surface the SSDP/UPnP scanner alongside ARP and mDNS: a dedicated card on the Status screen and a row in the consolidated Status card on Home. Mirrors the existing mDNS implementation and reuses the generic ScannerStatusCard and PolledValue infrastructure. Also maps the 'Ssdp' device-event scanner to the "SSDP/UPnP" label. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
26 lines
695 B
Dart
26 lines
695 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import '../widgets/arp_scanner_card.dart';
|
|
import '../widgets/mdns_scanner_card.dart';
|
|
import '../widgets/ssdp_scanner_card.dart';
|
|
|
|
class StatusScreen extends StatelessWidget {
|
|
const StatusScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Text('Status', style: Theme.of(context).textTheme.headlineMedium),
|
|
const SizedBox(height: 20),
|
|
const ArpScannerCard(),
|
|
const SizedBox(height: 8),
|
|
const MdnsScannerCard(),
|
|
const SizedBox(height: 8),
|
|
const SsdpScannerCard(),
|
|
],
|
|
);
|
|
}
|
|
}
|