settings menu UI adjustment
This commit is contained in:
@@ -19,8 +19,17 @@ class SettingsScreen extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(title: const Text('Settings')),
|
appBar: AppBar(title: const Text('Settings')),
|
||||||
|
// Bewusst nicht symmetrisch: links den echten Geraete-Inset einhalten
|
||||||
|
// (z.B. eine Frontkamera-Aussparung im Querformat), rechts bis an den
|
||||||
|
// Bildschirmrand - anders als in der Fusszeile (BottomStatsBar) soll
|
||||||
|
// hier keine gespiegelte/erzwungene Symmetrie zwischen beiden Seiten
|
||||||
|
// entstehen.
|
||||||
body: ListView(
|
body: ListView(
|
||||||
padding: const EdgeInsets.all(16),
|
padding: EdgeInsets.only(
|
||||||
|
left: 16 + MediaQuery.of(context).padding.left,
|
||||||
|
top: 16,
|
||||||
|
bottom: 16,
|
||||||
|
),
|
||||||
children: const [_ConnectionSection()],
|
children: const [_ConnectionSection()],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user