mirrored_repositories/MyNextBook-Flutter/lib
import 'package:flutter/material.dart';

abstract class AppRouter {
  final String welcomeView = "/welcome_view";
  final String finderView = "/finder_view";
  final String previewView = "/preview_view";
  final String favoriteView = "/favorite_view";
  final String loginView = "/login_view";
  final String accountView = "/account_view";
  final String recommendationView = "/recommend_view";

  Map<String, WidgetBuilder> createRouter(BuildContext context);
  void to(BuildContext context, String route, {bool replace, String? params});
  void pop(BuildContext context, {bool reload});
  void popTo(BuildContext context, String route);
  void popFirst(BuildContext context, String newRoute);
}
