design: Use more adaptive elements

This uses iOS styled Sliders and share
icons on iOS.
This commit is contained in:
Krille Fear 2021-12-23 13:34:04 +01:00
commit 20228380be
5 changed files with 10 additions and 18 deletions

View file

@ -173,7 +173,7 @@ class _AudioPlayerState extends State<AudioPlayerWidget> {
),
),
Expanded(
child: Slider(
child: Slider.adaptive(
activeColor: Theme.of(context).colorScheme.secondaryVariant,
inactiveColor: widget.color.withAlpha(64),
value: currentPosition,