Minor change.
This commit is contained in:
parent
5e6b5981c7
commit
88ce52dcae
|
@ -543,7 +543,7 @@ class __PlaylistButtonState extends State<_PlaylistButton> {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
var audio = context.watch<AudioPlayerNotifier>();
|
final audio = context.watch<AudioPlayerNotifier>();
|
||||||
final s = context.s;
|
final s = context.s;
|
||||||
return Material(
|
return Material(
|
||||||
color: Colors.transparent,
|
color: Colors.transparent,
|
||||||
|
|
|
@ -103,7 +103,11 @@ class _PopupMenuState extends State<PopupMenu> {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
var refreshWorker = Provider.of<RefreshWorker>(context, listen: false);
|
var refreshWorker = Provider.of<RefreshWorker>(context, listen: false);
|
||||||
final s = context.s;
|
final s = context.s;
|
||||||
return PopupMenuButton<int>(
|
return Material(
|
||||||
|
color: Colors.transparent,
|
||||||
|
borderRadius: BorderRadius.circular(100),
|
||||||
|
clipBehavior: Clip.hardEdge,
|
||||||
|
child: PopupMenuButton<int>(
|
||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
borderRadius: BorderRadius.all(Radius.circular(10))),
|
borderRadius: BorderRadius.all(Radius.circular(10))),
|
||||||
elevation: 1,
|
elevation: 1,
|
||||||
|
@ -132,7 +136,8 @@ class _PopupMenuState extends State<PopupMenu> {
|
||||||
if (snapshot.hasData) {
|
if (snapshot.hasData) {
|
||||||
return Text(
|
return Text(
|
||||||
snapshot.data,
|
snapshot.data,
|
||||||
style: TextStyle(color: Colors.red, fontSize: 12),
|
style:
|
||||||
|
TextStyle(color: Colors.red, fontSize: 12),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return Center();
|
return Center();
|
||||||
|
@ -205,6 +210,7 @@ class _PopupMenuState extends State<PopupMenu> {
|
||||||
context, MaterialPageRoute(builder: (context) => Settings()));
|
context, MaterialPageRoute(builder: (context) => Settings()));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue