提交 946b6dda authored 作者: shixiaochen's avatar shixiaochen

1、MyScaffold增加右侧菜单栏-endDrawer

上级 876aae7a
......@@ -16,6 +16,7 @@ class MyScaffold extends StatelessWidget {
final KeyboardActionsConfig? keyboardConfig;
final Widget? floatingActionButton;
final ScrollController? controller;
final Widget? endDrawer;
const MyScaffold({
Key? key,
......@@ -30,6 +31,7 @@ class MyScaffold extends StatelessWidget {
this.keyboardConfig,
this.floatingActionButton,
this.controller,
this.endDrawer,
}) : super(key: key);
@override
......@@ -37,6 +39,7 @@ class MyScaffold extends StatelessWidget {
return Scaffold(
appBar: appBar ?? MyPageAppBar(title: title),
backgroundColor: backgroundColor ?? const Color(0xFFf2f3f3),
endDrawer: endDrawer,
body: SafeArea(
child: body ??
MyScrollView(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论