Shuffle/app/lib/features/auth/presentation/auth_route_placeholder.dart
cschlaefke e632da2344 feat(auth): add registration, check-email and email-link screens
Implements KTO-01 criteria 1-4, 10 and 11 (client part).

Refs #1

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 00:27:16 +01:00

19 lines
634 B
Dart

import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
/// Placeholder for auth pages that 01b and 01c still deliver. Without visible
/// texts (no hard-coded UI strings).
class AuthRoutePlaceholder extends StatelessWidget {
const AuthRoutePlaceholder({required this.routeKey, super.key});
final String routeKey;
@override
Widget build(BuildContext context) =>
Scaffold(key: Key('auth_placeholder_$routeKey'), body: const SizedBox());
}
GoRoute authPlaceholderRoute(String path, String key) => GoRoute(
path: path,
builder: (context, state) => AuthRoutePlaceholder(routeKey: key),
);