Files
Redesnigned-Finamp/lib/screens/audio_service_settings_screen.dart
Zakaria 1563409cb1
Build / Build for Android (push) Has been cancelled
Build / Build for iOS (push) Has been cancelled
first commit
2026-05-18 14:15:38 -04:00

33 lines
997 B
Dart

import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import '../components/AudioServiceSettingsScreen/buffer_duration_list_tile.dart';
import '../components/AudioServiceSettingsScreen/stop_foreground_selector.dart';
import '../components/AudioServiceSettingsScreen/song_shuffle_item_count_editor.dart';
class AudioServiceSettingsScreen extends StatelessWidget {
const AudioServiceSettingsScreen({Key? key}) : super(key: key);
static const routeName = "/settings/audioservice";
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(AppLocalizations.of(context)!.audioService),
),
body: Scrollbar(
child: ListView(
children: [
if (Platform.isAndroid) const StopForegroundSelector(),
const SongShuffleItemCountEditor(),
const BufferDurationListTile(),
],
),
),
);
}
}