feat(overlay): create stub ViewModel and View for deferred overlay feature

- Stub OverlayViewModel reserves abstraction point
- Stub OverlayView shows 'Overlay deferred' placeholder
- Original OverlayProvider (274 lines) was too tangled:
  mixed IPC, GPS forwarding, timers, foreground mgmt
- Will be reimplemented properly when overlay issues are resolved
This commit is contained in:
2026-08-23 17:21:45 +09:00
parent 3c96571325
commit 1cc111bb76
2 changed files with 43 additions and 0 deletions
+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
}
}