~repos /only-bible-app
GIT_CONFIG_PARAMETERS="'http.version=HTTP/1.1'" git clone
https://git.pyrossh.dev/only-bible-app.git
Discussions:
https://groups.google.com/g/rust-embed-devs
The only bible app you will ever need. No ads. No in-app purchases. No distractions.
lib/store/app_navigator.dart
import "package:flutter/material.dart";import "package:go_router/go_router.dart";
class AppRouterScope extends InheritedWidget { final GoRouter router;
const AppRouterScope({ super.key, required this.router, required super.child, });
static AppRouterScope of(BuildContext context) => context.dependOnInheritedWidgetOfExactType<AppRouterScope>()!;
@override bool updateShouldNotify(AppRouterScope old) => false;}
extension AppRouterContext on BuildContext { GoRouter get router => AppRouterScope.of(this).router;}