Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-15 18:19:51 +08:00
parent 25148509d2
commit d2f8aff421
21 changed files with 217 additions and 142 deletions

View File

@@ -20,13 +20,14 @@ class _ExtraSettingState extends State<ExtraSetting> {
return Scaffold(
resizeToAvoidBottomInset: false,
appBar: showAppBar ? AppBar(title: const Text('其它设置')) : null,
body: ListView(
body: ListView.builder(
padding: EdgeInsets.only(
left: showAppBar ? padding.left : 0,
right: showAppBar ? padding.right : 0,
bottom: padding.bottom + 100,
),
children: settings.map((item) => item.widget).toList(),
itemCount: settings.length,
itemBuilder: (context, index) => settings[index].widget,
),
);
}