This commit is contained in:
toly
2023-11-04 08:48:16 +08:00
parent 8ef81ddb33
commit 88cd6fb3b4
130 changed files with 2563 additions and 5327 deletions

View File

@@ -38,12 +38,12 @@ class _ColorPageState extends State<ColorPage> {
void _selectColor(Color color){
// String value = color.value.toRadixString(16);
// router.path = '/color/detail?color=$value';
router.changePath('/color/detail',extra: color);
router.changePath('/color/detail_error',extra: color);
}
void _toAddPage() async {
Color? color = await router.changePath('/color/add',forResult: true);
Color? color = await router.changePath('/color/add',forResult: true,recordHistory: false);
if (color != null) {
setState(() {
_colors.add(color);