completed new plus popup when feature unavailable :3

This commit is contained in:
Kima
2024-03-23 22:41:20 +01:00
parent 1757e16dea
commit 161f61ea96
20 changed files with 70 additions and 24 deletions

View File

@@ -52,14 +52,19 @@ Future<T?> showRoundedModalBottomSheet<T>(
BuildContext context, {
required Widget child,
bool rootNavigator = true,
bool showHandle = true,
}) async {
return await showModalBottomSheet<T>(
context: context,
backgroundColor: const Color(0x00000000),
elevation: 0,
isDismissible: true,
useRootNavigator: rootNavigator,
builder: (context) => RoundedBottomSheet(child: child));
context: context,
backgroundColor: const Color(0x00000000),
elevation: 0,
isDismissible: true,
useRootNavigator: rootNavigator,
builder: (context) => RoundedBottomSheet(
showHandle: false,
child: child,
),
);
}
PersistentBottomSheetController showRoundedBottomSheet(