mirror of
https://github.com/Ujwal223/FocusGram.git
synced 2026-04-02 01:20:26 +02:00
- Reordered Settings Page. - Added "Click to Unblur" for posts. - Added Persistent Notification - Improved Grayscale Scheduling. and more.
14 lines
552 B
Dart
14 lines
552 B
Dart
import 'package:flutter/foundation.dart';
|
|
|
|
/// Lightweight global router for cross-widget navigation signals.
|
|
/// Used to allow the Settings page to trigger WebView navigations without
|
|
/// requiring a BuildContext reference to MainWebViewPage.
|
|
class FocusGramRouter {
|
|
FocusGramRouter._();
|
|
|
|
/// When this value is non-null, [MainWebViewPage] will load the URL
|
|
/// in the WebView and clear this value. Settings page sets this to
|
|
/// trigger in-app navigation (e.g. Instagram Settings).
|
|
static final pendingUrl = ValueNotifier<String?>(null);
|
|
}
|