backgroundcolor migration

This commit is contained in:
NicKoehler
2023-02-23 16:49:31 +01:00
parent 37deaf67cc
commit ab9acc76fc
13 changed files with 42 additions and 36 deletions

View File

@@ -170,8 +170,8 @@ class _PeerCardState extends State<_PeerCard>
),
Expanded(
child: Container(
decoration:
BoxDecoration(color: Theme.of(context).backgroundColor),
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.background),
child: Row(
children: [
Expanded(
@@ -266,7 +266,7 @@ class _PeerCardState extends State<_PeerCard>
),
),
Container(
color: Theme.of(context).backgroundColor,
color: Theme.of(context).colorScheme.background,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
@@ -1090,7 +1090,7 @@ class ActionMore extends StatelessWidget {
radius: 14,
backgroundColor: _hover.value
? Theme.of(context).scaffoldBackgroundColor
: Theme.of(context).backgroundColor,
: Theme.of(context).colorScheme.background,
child: Icon(Icons.more_vert,
size: 18,
color: _hover.value