mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-02-12 16:52:51 +00:00
30 lines
819 B
Dart
30 lines
819 B
Dart
import 'package:flutter/material.dart';
|
|
import 'settings/sections/language_section.dart';
|
|
import '../services/localization_service.dart';
|
|
|
|
class LanguageSettingsScreen extends StatelessWidget {
|
|
const LanguageSettingsScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
final locService = LocalizationService.instance;
|
|
|
|
return AnimatedBuilder(
|
|
animation: LocalizationService.instance,
|
|
builder: (context, child) => Scaffold(
|
|
appBar: AppBar(
|
|
title: Text(locService.t('settings.language')),
|
|
),
|
|
body: Padding(
|
|
padding: EdgeInsets.fromLTRB(
|
|
16,
|
|
16,
|
|
16,
|
|
16 + MediaQuery.of(context).padding.bottom,
|
|
),
|
|
child: const LanguageSection(),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
} |