fixed deprecated warnings

This commit is contained in:
Marton Kiss
2025-01-31 10:24:37 +01:00
parent 67649cc5fd
commit b5ee1afe05
102 changed files with 755 additions and 557 deletions

View File

@@ -91,7 +91,10 @@ class MessageViewTile extends StatelessWidget {
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16.0),
border: Border.all(
color: Theme.of(context).colorScheme.secondary.withOpacity(.25),
color: Theme.of(context)
.colorScheme
.secondary
.withValues(alpha: .25),
width: 1.0,
),
),
@@ -122,7 +125,7 @@ class MessageViewTile extends StatelessWidget {
.textTheme
.bodySmall
?.color
?.withOpacity(0.6),
?.withValues(alpha: 0.6),
),
overflow: TextOverflow.ellipsis,
maxLines: 1,