Implements KTO-01 criteria 1-4, 10 and 11 (client part). Refs #1 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
19 lines
634 B
Dart
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),
|
|
);
|