2024-09-02 ほぼOK

This commit is contained in:
2024-09-02 21:25:19 +09:00
parent dc58dc0584
commit fe46d46ab6
59 changed files with 2006 additions and 677 deletions

View File

@ -26,7 +26,8 @@ class _HelperDialogState extends State<HelperDialog> {
Text('ヘルプ'),
],
),
content: Column(
content: SingleChildScrollView(
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@ -42,11 +43,17 @@ class _HelperDialogState extends State<HelperDialog> {
});
},
),
const Text('この画面を二度と表示しない'),
const Flexible(
child: Text(
'この画面を二度と表示しない',
overflow: TextOverflow.ellipsis,
),
),
],
),
],
),
),
actions: [
TextButton(
child: const Text('OK'),
@ -68,6 +75,9 @@ Future<void> showHelperDialog(String message, String screenKey) async {
final prefs = await SharedPreferences.getInstance();
final showHelper = prefs.getBool('helper_$screenKey') ?? true;
if (showHelper) {
Get.dialog(HelperDialog(message: message, screenKey: screenKey));
Get.dialog(
HelperDialog(message: message, screenKey: screenKey),
barrierDismissible: false,
);
}
}