Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-15 12:18:36 +08:00
parent 52151765f8
commit 831a3052fa
12 changed files with 47 additions and 39 deletions

View File

@@ -9,10 +9,10 @@ import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
class WebDavSettingPage extends StatefulWidget {
const WebDavSettingPage({
super.key,
this.showAppBar,
this.showAppBar = true,
});
final bool? showAppBar;
final bool showAppBar;
@override
State<WebDavSettingPage> createState() => _WebDavSettingPageState();
@@ -38,7 +38,8 @@ class _WebDavSettingPageState extends State<WebDavSettingPage> {
Widget build(BuildContext context) {
EdgeInsets padding = MediaQuery.paddingOf(context);
return Scaffold(
appBar: widget.showAppBar == false
resizeToAvoidBottomInset: widget.showAppBar,
appBar: !widget.showAppBar
? null
: AppBar(title: const Text('WebDAV 设置')),
body: ListView(