搜尋分類、套件與程式碼儲存庫

image_editor_plus 封面
套件詳情v1.0.8

image_editor_plus

具有濾鏡、繪圖、文字和表情符號的影像編輯外掛程式,類似於故事。

AndroidiOSWebWindows
近 30 天下載
6090
喜歡數
318
Pub 分數
150

安裝套件

flutter pub add image_editor_plus

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Image Editor Plus 是一個 Flutter 插件,讓使用者能透過多種功能編輯圖片,包含濾鏡、繪圖工具、文字新增與表情符號支援——非常適合創造類似故事的視覺效果。它支援 Android、iOS、Web 和 Windows 平台,在各裝置上提供無縫體驗。該插件可透過 pub.dev 容易整合,並為開發者提供可自訂介面,以增強應用程式中的圖片編輯功能。它特別適用於社群媒體、照片分享或創意內容應用。

適用情境

  • 創建故事風格的圖像
  • 向照片添加文字和表情符號
  • 應用即時影像濾鏡
  • 基於圖像繪製
  • 儲存編輯過的影像並壓縮

主要特色

  • 多個圖像濾鏡
  • 即時繪圖畫布
  • 文字和表情符號疊加
  • 圖像壓縮選項
  • 跨平台相容性

適合對象

  • 社群媒體應用
  • 照片編輯工具
  • 創意內容平台
  • 使用者產生的故事功能
  • 行動和網路應用

使用建議

  • 需要平台特定權限以存取影像
  • 效能可能在低階裝置上有所差異
  • 與完整桌面編輯器相比,高級編輯功能有限
  • 可能需要額外的UI組件以獲得最佳使用者體驗
  • 某些功能依賴外部依賴項

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

ImageEditor

Image Editor Plugin with simple, easy support for image editing using Paints, Text, Filters, Emoji and Sticker like stories.

To start with this, we need to simply add the dependencies in the gradle file of our app module like this

Installation

First, add image_editor_plus: as a dependency in your pubspec.yaml file.

Import

import 'package:image_editor_plus/image_editor_plus.dart';
iOS

Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:

  • NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor.
  • NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor.
  • NSMicrophoneUsageDescription - describe why your app needs access to the microphone, if you intend to record videos. This is called Privacy - Microphone Usage Description in the visual editor.

Or in text format add the key:

<key>NSPhotoLibraryUsageDescription</key>
<string>Used to demonstrate image picker plugin</string>
<key>NSCameraUsageDescription</key>
<string>Used to demonstrate image picker plugin</string>
<key>NSMicrophoneUsageDescription</key>
<string>Used to capture audio for image picker plugin</string>
Android

No configuration required - the plugin should work out of the box.

Example - Language translation
// before using image editor
ImageEditor.i18n({
    'Remove': 'हटा दीजिये',
    'Save': 'सहेजें',
    'Slider Filter Color': 'स्लाइडर फिल्टर का रंग',
});
Example - Full Editor
final editedImage = await Navigator.push(
    context,
    MaterialPageRoute(
        builder: (context) => ImageEditor(
            image: data, // <-- Uint8List of image
            appBarColor: Colors.blue,
            bottomBarColor: Colors.blue,
        ),
    ),
);
Example - Image Crop Only
final editedImage = await Navigator.push(
    context,
    MaterialPageRoute(
        builder: (context) => ImageCropper(
            image: data, // <-- Uint8List of image
        ),
    ),
);
Example - Image Convert
import 'package:image_editor_plus/utils.dart';

// to jpeg
final convertedImage = await ImageUtils.convert(
    image: data, // <-- Uint8List/path of image
    format: 'jpg',
    quality: 80,
);

// to heic
final convertedImage = await ImageUtils.convert(
    image: data, // <-- Uint8List/path of image
    format: 'heic',
    quality: 80,
);

// to png
final convertedImage = await ImageUtils.convert(
    image: data, // <-- Uint8List/path of image
    format: 'png',
);

// to webp
final convertedImage = await ImageUtils.convert(
    image: data, // <-- Uint8List/path of image
    format: 'webp',
    quality: 80,
);

MIT License

Copyright (c) 2022-2025 hsbijarniya@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

所屬分類

依賴

原始碼儲存庫

使用此套件的專案

暫無相關資料。