hsbijarniya / image_editor_plus

Flutter Image Editor Plugin with simple, easy support for image editing using Paints, Text, Filters, Emoji and Sticker like stories.
MIT License
122 stars 116 forks source link

Remove unnecessary properties like flip, rotate #46

Closed Louixville closed 1 year ago

Louixville commented 1 year ago

Is there a way of removing properties from the main screen?

hsbijarniya commented 1 year ago

Use features property in ImageEditor class to enable/disable specific features

Added in v0.2.4

Louixville commented 1 year ago

I've updated the version but it does not disable anything ... they're still showed in the bottom bar

hsbijarniya commented 1 year ago

You need to pass ImageEditorFeatures object

ImageEditor( ... options: ImageEditorFeatures( crop: false, ), ); ({bool pickFromGallery = false, bool captureFromCamera = false, bool crop = false, bool blur = false, bool brush = false, bool emoji = false, bool filters = false, bool flip = false, bool rotate = false, bool text = false})