Skip to content

Commit

Permalink
feat: Set optionURLReflectsImperativeAPIs
Browse files Browse the repository at this point in the history
  • Loading branch information
koji-1009 committed Feb 18, 2024
1 parent d75b60f commit 036f2ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import 'package:flutter_kokkai_gijiroku/app.dart';
import 'package:flutter_kokkai_gijiroku/model/entity/search_params.dart';
import 'package:flutter_kokkai_gijiroku/model/hive/search_history.dart';
import 'package:flutter_kokkai_gijiroku/ofl.dart';
import 'package:go_router/go_router.dart';
import 'package:hive_flutter/hive_flutter.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:http_hive_cache/http_hive_cache.dart';
Expand All @@ -13,6 +14,8 @@ void main() async {
yield const LicenseEntryWithLineBreaks(['google_fonts'], bizUDGothic);
});

GoRouter.optionURLReflectsImperativeAPIs = true;

await Hive.initFlutter();
await HttpHiveCache.init();

Expand Down

0 comments on commit 036f2ec

Please sign in to comment.