Crop image in personalize

This commit is contained in:
2024-08-02 00:12:16 +08:00
parent 5e754ad233
commit 0a5604d0ff
2 changed files with 45 additions and 22 deletions

View File

@ -211,8 +211,8 @@ class _AttachmentEditorPopupState extends State<AttachmentEditorPopup> {
uiSettings: [
AndroidUiSettings(
toolbarTitle: 'cropImage'.tr,
toolbarColor: Colors.deepOrange,
toolbarWidgetColor: Colors.white,
toolbarColor: Theme.of(context).colorScheme.primary,
toolbarWidgetColor: Theme.of(context).colorScheme.onPrimary,
aspectRatioPresets: CropAspectRatioPreset.values,
),
IOSUiSettings(