Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-13 11:49:38 +08:00
parent f824477ddb
commit c05fbde3fa
106 changed files with 2780 additions and 3200 deletions

View File

@@ -54,7 +54,7 @@ abstract class CommonSlidePageState<T extends CommonSlidePage> extends State<T>
Widget buildList(ThemeData theme) => throw UnimplementedError();
Widget slideList(ThemeData theme, [Widget? buildList]) => LayoutBuilder(
Widget slideList(ThemeData theme) => LayoutBuilder(
builder: (_, constrains) {
final maxWidth = constrains.maxWidth;
@@ -110,7 +110,7 @@ abstract class CommonSlidePageState<T extends CommonSlidePage> extends State<T>
onPanEnd: (_) {
onDismiss();
},
child: buildList ?? this.buildList(theme),
child: buildList(theme),
);
},
);