refactor: layered architecture (core/data/ui separation) #1

Merged
mikkeli merged 5 commits from refactor/flutter-architecture into master 2026-08-23 11:25:55 +00:00
2 changed files with 43 additions and 0 deletions
Showing only changes of commit 1cc111bb76 - Show all commits
+17
View File
@@ -0,0 +1,17 @@
import 'package:flutter/material.dart';
/// Stub view for the overlay feature.
///
/// [Overlay] has been deferred due to ongoing issues. This placeholder
/// reserves the UI layer for when the overlay is properly reimplemented
/// with the new architecture.
class OverlayView extends StatelessWidget {
const OverlayView({super.key});
@override
Widget build(BuildContext context) {
return const Center(
child: Text('Overlay deferred'),
);
}
}
@@ -0,0 +1,26 @@
import 'package:flutter/widgets.dart';
/// Stub ViewModel for the overlay feature.
///
/// [Overlay] has been a major problem and is deferred. This stub
/// reserves the abstraction point for future implementation.
///
/// The original [OverlayProvider] mixed overlay IPC, GPS forwarding,
/// timers, and app foreground management — all of which violated
/// separation of concerns.
@Deprecated('Overlay is deferred. This stub reserves the abstraction point.')
class OverlayViewModel extends ChangeNotifier {
bool get isOverlayActive => false;
void init() {
// No-op — overlay is deferred
}
void toggleOverlay() {
// No-op — overlay is deferred
}
void closeOverlay() {
// No-op — overlay is deferred
}
}