diff options
author | uvok | 2025-08-01 14:28:05 +0200 |
---|---|---|
committer | uvok | 2025-08-01 14:28:05 +0200 |
commit | 5c1ffb1caa83681b9bb128841c6919ccfc1823e7 (patch) | |
tree | 14daff445a24fd136ef7c8fc13c860bd2f1b4a6f /lib/widgets/device_scan_select.dart | |
parent | 3c6100197cedd6b2e08a3237f596aff6e25f672b (diff) |
Proper theming, selection
Diffstat (limited to 'lib/widgets/device_scan_select.dart')
-rw-r--r-- | lib/widgets/device_scan_select.dart | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/widgets/device_scan_select.dart b/lib/widgets/device_scan_select.dart index cd65eac..a2e7fc5 100644 --- a/lib/widgets/device_scan_select.dart +++ b/lib/widgets/device_scan_select.dart @@ -33,6 +33,8 @@ class _DeviceScanSelectionState extends State<DeviceScanSelection> { @override Widget build(BuildContext context) { + var mytheme = Theme.of(context); + return Expanded( child: ListView.separated( itemCount: widget.items.length, @@ -45,7 +47,7 @@ class _DeviceScanSelectionState extends State<DeviceScanSelection> { title: Text(name), subtitle: Text(result.address ?? "???"), trailing: Text('RSSI: ${result.rssi}'), - selectedTileColor: Colors.amber, + selectedTileColor: mytheme.primaryColorLight, selectedColor: Colors.black, onTap: () { setState(() { |