24
This commit is contained in:
@@ -66,7 +66,10 @@ class _ColorPageState extends State<ColorPage> {
|
||||
void _selectColor(Color color) {
|
||||
String value = color.value.toRadixString(16);
|
||||
context.push('/color/detail?color=$value');
|
||||
// GoRouter.of(context) .pushNamed('colorDetail', queryParameters: {'color': value});
|
||||
// context.pushNamed(
|
||||
// 'colorDetail',
|
||||
// queryParameters: {'color': value},
|
||||
// );
|
||||
}
|
||||
|
||||
void _toAddPage() async {
|
||||
|
||||
@@ -9,8 +9,6 @@ import 'navigation/helper/router_history.dart';
|
||||
import 'navigation/transition/fade_page_transitions_builder.dart';
|
||||
|
||||
|
||||
|
||||
|
||||
class UnitApp extends StatelessWidget {
|
||||
UnitApp({super.key});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user