fix: Update dependencies and add a cancel button to the color selection dialog (#1025)

Update the fl_lib dependency to version v1.0.362

Add a cancel button in the color selection dialog to enhance user experience
This commit is contained in:
GT610
2026-01-25 00:12:22 +08:00
committed by GitHub
parent 7d47c9d673
commit e226fec03d
3 changed files with 9 additions and 6 deletions

View File

@@ -134,7 +134,10 @@ extension _App on _AppSettingsPageState {
return Column(mainAxisSize: MainAxisSize.min, children: children);
},
),
actions: Btn.ok(onTap: () => _onSaveColor(ctrl.text)).toList,
actions: [
Btn.cancel(onTap: () => context.pop(false)),
Btn.ok(onTap: () => _onSaveColor(ctrl.text)),
],
);
});
},