27 lines
742 B
Dart
27 lines
742 B
Dart
|
|
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
|
||
|
|
}
|
||
|
|
}
|