version 0.1.3

This commit is contained in:
ksenia312
2025-04-01 13:38:08 +02:00
parent 4a42db7e12
commit c391cc5f26
22 changed files with 68 additions and 28 deletions
@@ -19,7 +19,7 @@ class DevicePreview extends StatelessWidget {
final color = device.status.isConnected ? kGreenColor : kGreyColor;
final avatar = CircleAvatar(
backgroundColor: kBlueColor.withOpacity(0.7),
backgroundColor: kBlueColor.withValues(alpha: 0.7),
foregroundColor: kWhiteColor,
maxRadius: largeView ? 100 : 30,
child: Padding(
@@ -120,7 +120,7 @@ class _InfoChip extends StatelessWidget {
boxShadow: [
BoxShadow(
blurRadius: 2,
color: Theme.of(context).shadowColor.withOpacity(0.4),
color: Theme.of(context).shadowColor.withValues(alpha: 0.4),
offset: const Offset(0, 1),
),
],
@@ -133,13 +133,16 @@ class _InfoChip extends StatelessWidget {
'$label: ',
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 12,
color: Theme.of(context).colorScheme.onSurface,
),
),
Text(
value,
style: TextStyle(
color: Theme.of(context).colorScheme.onSurface,
Flexible(
child: Text(
value,
style: TextStyle(
color: Theme.of(context).colorScheme.onSurface,
),
),
),
],