Minor change.
This commit is contained in:
parent
99cf220adc
commit
c8c16a09f8
|
@ -559,12 +559,12 @@ class _PlaylistWidgetState extends State<PlaylistWidget> {
|
|||
miniPlaylistKey.currentState.removeItem(
|
||||
index,
|
||||
(context, animation) => Center(),
|
||||
duration: Duration(milliseconds: 50),
|
||||
duration: Duration(milliseconds: 200),
|
||||
);
|
||||
miniPlaylistKey.currentState.insertItem(0,
|
||||
duration: Duration(milliseconds: 100));
|
||||
await Future.delayed(
|
||||
Duration(milliseconds: 150));
|
||||
Duration(milliseconds: 300));
|
||||
await audio
|
||||
.moveToTop(data.item1[index + 1]);
|
||||
},
|
||||
|
|
|
@ -280,7 +280,6 @@ class _PlaylistPageState extends State<PlaylistPage> {
|
|||
}
|
||||
audio.reorderPlaylist(oldIndex, newIndex);
|
||||
// final episodeRemove = episodes.removeAt(oldIndex);
|
||||
// print(episodeRemove.title);
|
||||
setState(() {
|
||||
// episodes.insert(newIndex, episodeRemove);
|
||||
});
|
||||
|
|
|
@ -60,7 +60,6 @@ void callbackDispatcher() {
|
|||
ThemeData lightTheme = ThemeData(
|
||||
accentColorBrightness: Brightness.dark,
|
||||
primaryColor: Colors.grey[100],
|
||||
// accentColor: _accentSetColor,
|
||||
primaryColorLight: Colors.white,
|
||||
primaryColorDark: Colors.grey[300],
|
||||
dialogBackgroundColor: Colors.white,
|
||||
|
|
|
@ -21,14 +21,14 @@ generalDialog(BuildContext context,
|
|||
: Color.fromRGBO(15, 15, 15, 1),
|
||||
),
|
||||
child: AlertDialog(
|
||||
elevation: 1,
|
||||
elevation: 2,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.all(Radius.circular(10.0))),
|
||||
titlePadding: EdgeInsets.all(20),
|
||||
title: SizedBox(width: context.width - 160, child: title),
|
||||
content: content,
|
||||
contentPadding: EdgeInsets.fromLTRB(20, 0, 20, 0),
|
||||
actionsPadding: EdgeInsets.all(10),
|
||||
actionsPadding: EdgeInsets.fromLTRB(10, 0, 10, 0),
|
||||
actions: actions),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue