mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
[platform_design]Fix problems in dark mode (#377)
This commit is contained in:
committed by
GitHub
parent
f8e3d391f3
commit
3a02748df2
@@ -222,7 +222,7 @@ class SongPlaceholderTile extends StatelessWidget {
|
||||
child: Row(
|
||||
children: [
|
||||
Container(
|
||||
color: Colors.grey[400],
|
||||
color: Theme.of(context).textTheme.body1.color,
|
||||
width: 130,
|
||||
),
|
||||
Padding(
|
||||
@@ -235,27 +235,27 @@ class SongPlaceholderTile extends StatelessWidget {
|
||||
Container(
|
||||
height: 9,
|
||||
margin: EdgeInsets.only(right: 60),
|
||||
color: Colors.grey[300],
|
||||
color: Theme.of(context).textTheme.body1.color,
|
||||
),
|
||||
Container(
|
||||
height: 9,
|
||||
margin: EdgeInsets.only(right: 20, top: 8),
|
||||
color: Colors.grey[300],
|
||||
color: Theme.of(context).textTheme.body1.color,
|
||||
),
|
||||
Container(
|
||||
height: 9,
|
||||
margin: EdgeInsets.only(right: 40, top: 8),
|
||||
color: Colors.grey[300],
|
||||
color: Theme.of(context).textTheme.body1.color,
|
||||
),
|
||||
Container(
|
||||
height: 9,
|
||||
margin: EdgeInsets.only(right: 80, top: 8),
|
||||
color: Colors.grey[300],
|
||||
color: Theme.of(context).textTheme.body1.color,
|
||||
),
|
||||
Container(
|
||||
height: 9,
|
||||
margin: EdgeInsets.only(right: 50, top: 8),
|
||||
color: Colors.grey[300],
|
||||
color: Theme.of(context).textTheme.body1.color,
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -325,6 +325,7 @@ void showChoices(BuildContext context, List<String> choices) {
|
||||
return SizedBox(
|
||||
height: 250,
|
||||
child: CupertinoPicker(
|
||||
backgroundColor: Theme.of(context).canvasColor,
|
||||
useMagnifier: true,
|
||||
magnification: 1.1,
|
||||
itemExtent: 40,
|
||||
|
||||
Reference in New Issue
Block a user