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(

View File

@@ -8,21 +8,18 @@ extension Localization on String {
"date": "Date",
"description": "Description",
"mode": "Type",
"Nem írt": "Missed exam",
},
"hu_hu": {
"value": "Érték",
"date": "Írás ideje",
"description": "Leírás",
"mode": "Típus",
"Nem írt": "Nem írta meg a dolgozatot"
},
"de_de": {
"value": "Notenwert",
"date": "Prüfungszeit",
"description": "Bezeichnung",
"mode": "Typ",
"Nem írt": "Nicht geschrieben"
}
};