diff options
author | uvok | 2025-07-29 16:30:42 +0200 |
---|---|---|
committer | uvok | 2025-07-29 16:30:42 +0200 |
commit | 0e92f3c889f7a9f8832aa706aa9c3bfce1bb7891 (patch) | |
tree | 2545a15022c42ac9adc9e34e691bc9c1caf13b85 /lib/device_details.dart | |
parent | 8dc4939e2eb055e4ba1463f931c9c69284687973 (diff) |
Reorder classes
Diffstat (limited to 'lib/device_details.dart')
-rw-r--r-- | lib/device_details.dart | 9 |
1 files changed, 7 insertions, 2 deletions
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<DeviceDetailsScreen> { String connectStatus = "<Status>"; - // ??? + // Just to have a resonable default subscription? StreamSubscription<BluetoothConnectionState> subs = Stream<BluetoothConnectionState>.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, |