This commit is contained in:
toly
2023-11-26 09:04:44 +08:00
parent 6e8d926693
commit 2ceed8b9b5
20 changed files with 597 additions and 18 deletions

View File

@@ -48,9 +48,10 @@ class _ColorPageState extends State<ColorPage> {
}
void _selectColor(Color color){
// String value = color.value.toRadixString(16);
// router.path = '/color/detail?color=$value';
router.changePath('/app/color/detail',extra: color);
String value = color.value.toRadixString(16);
String path = '/app/color/detail?color=$value';
// router.changePath('/app/color/detail',extra: color);
router.changePath(path,recordHistory: true);
}