opt pub panel

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-26 17:11:52 +08:00
parent db3b74e33f
commit 3edac65ae8
49 changed files with 879 additions and 360 deletions

View File

@@ -44,7 +44,16 @@ class _DynamicsPageState extends State<DynamicsPage>
context: context,
useSafeArea: true,
isScrollControlled: true,
builder: (context) => const CreateDynPanel(),
builder: (context) => DraggableScrollableSheet(
snap: true,
expand: false,
initialChildSize: 1,
minChildSize: 0,
maxChildSize: 1,
snapSizes: const [1],
builder: (context, scrollController) =>
CreateDynPanel(scrollController: scrollController),
),
);
}
},