Files
social-app/apps/lib/main.dart
T
qzl 4fb90de1f5 feat(flutter): add auth module with router and screens
- Add app_router.dart with auth routes (login, register)
- Update main.dart with MaterialApp.router
- Add 5 auth screens:
  - LoginEmailScreen with email validation
  - LoginPasswordScreen with password visibility toggle
  - LoginCodeScreen with verification code input
  - RegisterScreen with step indicator
  - RegisterStep2Screen with password/code/invite inputs
2026-02-25 10:57:43 +08:00

22 lines
455 B
Dart

import 'package:flutter/material.dart';
import 'core/theme/app_theme.dart';
import 'core/router/app_router.dart';
void main() {
runApp(const LinksyApp());
}
class LinksyApp extends StatelessWidget {
const LinksyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp.router(
title: 'Linksy',
debugShowCheckedModeBanner: false,
theme: AppTheme.light,
routerConfig: appRouter,
);
}
}