mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-02-15 12:44:59 +01:00
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:
@@ -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)),
|
||||
],
|
||||
);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user