version 0.1.3
This commit is contained in:
@@ -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,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user