chore: normalize line endings (CRLF -> LF)
No content changes: git diff --ignore-all-space over these files is empty. The churn came from editing on Windows against a repo checked out with LF.
This commit is contained in:
1 parent
15566a6951
commit
caf8e98378
315 files changed
+86950
-86950
No files matched your search
@@ -1,47 +1,47 @@
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
import '../../features/splash/splash_screen.dart';
|
||||
import '../../features/auth/login_screen.dart';
|
||||
import '../../features/camera/camera_screen.dart';
|
||||
import '../../features/documents/documents_screen.dart';
|
||||
import '../../features/editor/editor_screen.dart';
|
||||
import '../../features/editor/product_editor_screen.dart';
|
||||
|
||||
final appRouterProvider = Provider<GoRouter>((ref) {
|
||||
return GoRouter(
|
||||
initialLocation: '/splash',
|
||||
routes: [
|
||||
GoRoute(
|
||||
path: '/splash',
|
||||
builder: (context, state) => const SplashScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/login',
|
||||
builder: (context, state) => const LoginScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/camera',
|
||||
builder: (context, state) => const CameraScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/documents',
|
||||
builder: (context, state) => const DocumentsScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/editor',
|
||||
builder: (context, state) {
|
||||
final pendingId = state.extra as String?;
|
||||
return EditorScreen(pendingId: pendingId);
|
||||
},
|
||||
),
|
||||
GoRoute(
|
||||
path: '/product-editor',
|
||||
builder: (context, state) {
|
||||
final pendingId = state.extra as String?;
|
||||
return ProductEditorScreen(pendingId: pendingId);
|
||||
},
|
||||
),
|
||||
],
|
||||
);
|
||||
});
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
import '../../features/splash/splash_screen.dart';
|
||||
import '../../features/auth/login_screen.dart';
|
||||
import '../../features/camera/camera_screen.dart';
|
||||
import '../../features/documents/documents_screen.dart';
|
||||
import '../../features/editor/editor_screen.dart';
|
||||
import '../../features/editor/product_editor_screen.dart';
|
||||
|
||||
final appRouterProvider = Provider<GoRouter>((ref) {
|
||||
return GoRouter(
|
||||
initialLocation: '/splash',
|
||||
routes: [
|
||||
GoRoute(
|
||||
path: '/splash',
|
||||
builder: (context, state) => const SplashScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/login',
|
||||
builder: (context, state) => const LoginScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/camera',
|
||||
builder: (context, state) => const CameraScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/documents',
|
||||
builder: (context, state) => const DocumentsScreen(),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/editor',
|
||||
builder: (context, state) {
|
||||
final pendingId = state.extra as String?;
|
||||
return EditorScreen(pendingId: pendingId);
|
||||
},
|
||||
),
|
||||
GoRoute(
|
||||
path: '/product-editor',
|
||||
builder: (context, state) {
|
||||
final pendingId = state.extra as String?;
|
||||
return ProductEditorScreen(pendingId: pendingId);
|
||||
},
|
||||
),
|
||||
],
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user