From 0e92f3c889f7a9f8832aa706aa9c3bfce1bb7891 Mon Sep 17 00:00:00 2001 From: uvok Date: Tue, 29 Jul 2025 16:30:42 +0200 Subject: Reorder classes --- lib/device_details.dart | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib/device_details.dart') diff --git a/lib/device_details.dart b/lib/device_details.dart index 4f96ed8..d677b29 100644 --- a/lib/device_details.dart +++ b/lib/device_details.dart @@ -19,15 +19,20 @@ class DeviceDetailsScreen extends StatefulWidget { class DeviceDetailsState extends State { String connectStatus = ""; - // ??? + // Just to have a resonable default subscription? StreamSubscription subs = Stream.empty().listen((e) => ()); + + /// Whether the back button should be active. bool backActive = false; @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar(title: Text("Device details")), + appBar: AppBar( + backgroundColor: Theme.of(context).colorScheme.inversePrimary, + title: Text("Device details"), + ), body: Center( child: Column( spacing: 20, -- cgit v1.2.3