bump: flutter_riverpod: ^2.6.1

This commit is contained in:
xkeyC 2024-11-03 15:41:51 +08:00
parent c6ced405ef
commit 7e1e96707c
4 changed files with 8 additions and 8 deletions

View File

@ -3,6 +3,7 @@ import 'dart:io';
import 'package:fluent_ui/fluent_ui.dart';
import 'package:flutter_acrylic/flutter_acrylic.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:go_router/go_router.dart';
import 'package:hexcolor/hexcolor.dart';
@ -51,7 +52,7 @@ class AppGlobalState with _$AppGlobalState {
}
@riverpod
GoRouter router(RouterRef ref) {
GoRouter router(Ref ref) {
return GoRouter(
routes: [
GoRoute(

View File

@ -6,7 +6,7 @@ part of 'app.dart';
// RiverpodGenerator
// **************************************************************************
String _$routerHash() => r'4fb9802d06347972b530f17ea7d66724a6ded997';
String _$routerHash() => r'26e97b5ddc5161364251fe92399786a0eb9904db';
/// See also [router].
@ProviderFor(router)

View File

@ -1,7 +1,6 @@
import 'dart:io';
import 'package:fluent_ui/fluent_ui.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:go_router/go_router.dart';
import 'package:hive/hive.dart';

View File

@ -12,10 +12,10 @@ dependencies:
sdk: flutter
flutter_localizations:
sdk: flutter
flutter_riverpod: ^2.4.10
riverpod_annotation: ^2.3.4
flutter_riverpod: ^2.6.1
riverpod_annotation: ^2.6.1
flutter_hooks: ^0.20.5
hooks_riverpod: ^2.4.10
hooks_riverpod: ^2.6.1
json_annotation: ^4.8.1
go_router: ^14.0.1
window_manager: ^0.4.0
@ -75,9 +75,9 @@ dev_dependencies:
build_runner: ^2.4.8
freezed: ^2.4.5
json_serializable: ^6.7.1
riverpod_generator: ^2.3.11
riverpod_generator: ^2.6.2
custom_lint: ^0.7.0
riverpod_lint: ^2.3.9
riverpod_lint: ^2.6.2
ffigen: ^15.0.0
sct_dev_tools:
path: ./packages/sct_dev_tools