ui: fix icons, button stylings

This commit is contained in:
2026-05-19 20:49:01 +02:00
parent 0c18ed15fe
commit dffe8d4f5e
2 changed files with 11 additions and 17 deletions
@@ -520,7 +520,7 @@ class _TrackingCard extends StatelessWidget {
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 10),
child: Row(
children: [
const Icon(Icons.label_outline),
const Icon(Icons.label),
const SizedBox(width: 10),
Expanded(
child: Column(
+10 -16
View File
@@ -178,7 +178,7 @@ class _TagDetailSheetState extends ConsumerState<TagDetailSheet> {
value: _formatLastSeen(tag.lastSeen!),
),
const SizedBox(height: 24),
FilledButton.tonal(
OutlinedButton.icon(
onPressed: () {
final isTracking = trackedTag?.tagId == tag.tagId;
ref.read(trackedTagProvider.notifier).state = isTracking
@@ -189,21 +189,15 @@ class _TagDetailSheetState extends ConsumerState<TagDetailSheet> {
GoRouter.of(context).go('/floorplan');
}
},
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
trackedTag?.tagId == tag.tagId
? Icons.radar
: Icons.radar_outlined,
),
const SizedBox(width: 8),
Text(
trackedTag?.tagId == tag.tagId
? 'Hide particle cloud'
: 'View particle cloud',
),
],
icon: Icon(
trackedTag?.tagId == tag.tagId
? Icons.blur_off
: Icons.blur_on,
),
label: Text(
trackedTag?.tagId == tag.tagId
? 'Hide particle cloud'
: 'View particle cloud',
),
),
const SizedBox(height: 8),