💄 Create account, login modal varaint and more auth check to prevent user from entering certain widget in unauthorized state

This commit is contained in:
2025-11-16 14:53:40 +08:00
parent 7a72d32649
commit 4b03b45a0d
8 changed files with 1256 additions and 1124 deletions

View File

@@ -0,0 +1,19 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:island/widgets/content/sheet.dart';
import 'login_content.dart';
class LoginModal extends HookConsumerWidget {
const LoginModal({super.key});
@override
Widget build(BuildContext context, WidgetRef ref) {
return SheetScaffold(
titleText: 'login'.tr(),
heightFactor: 0.9,
child: LoginContent(),
);
}
}