mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
21 lines
428 B
Dart
21 lines
428 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:platform_ui/platform_ui.dart';
|
|
|
|
class PlaylistShuffleButton extends StatelessWidget {
|
|
final onPressed;
|
|
|
|
const PlaylistShuffleButton({
|
|
Key? key,
|
|
this.onPressed,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return PlatformIconButton(
|
|
tooltip: "Shuffle",
|
|
icon: const Icon(Icons.shuffle),
|
|
onPressed: this.onPressed,
|
|
);
|
|
}
|
|
}
|