mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Add an mDNS Scanner status card to the Status screen mirroring the ARP card, and replace the ARP card on the Home screen with a combined Status card that summarizes both scanners in one line each. Extract the shared duration formatting helper into utils/duration_formatter.dart. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
583 B
Dart
23 lines
583 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import '../widgets/arp_scanner_card.dart';
|
|
import '../widgets/mdns_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(),
|
|
],
|
|
);
|
|
}
|
|
}
|