1
0
mirror of https://github.com/git-touch/git-touch synced 2025-01-31 08:04:51 +01:00

chore: upgrade fluro

This commit is contained in:
Rongjian Zhang 2020-11-01 14:24:19 +08:00
parent 6b9cc5a156
commit 5f0dfd7600
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import 'package:universal_io/io.dart';
import 'dart:async';
import 'package:fimber/fimber.dart';
import 'package:fluro/fluro.dart' as fluro;
import 'package:fluro/fluro.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:git_touch/utils/utils.dart';
@ -138,7 +138,7 @@ class ThemeModel with ChangeNotifier {
notifyListeners();
}
final router = fluro.Router();
final router = FluroRouter();
final paletteLight = Palette(
primary: PrimerColors.blue500,
@ -206,8 +206,8 @@ class ThemeModel with ChangeNotifier {
context,
url,
transition: theme == AppThemeType.cupertino
? fluro.TransitionType.cupertino
: fluro.TransitionType.material,
? TransitionType.cupertino
: TransitionType.material,
replace: replace,
);
} else {

View File

@ -37,7 +37,7 @@ dependencies:
uri: ^0.11.3
fimber: ^0.4.4
artemis: ^3.2.1
fluro: ^1.5.1
fluro: ^1.7.7
package_info: ^0.4.0
github: ^7.0.3
# path: ../../github/github.dart