워그램의 스토리 에디터를 영감으로 한 플러터 패키지로, 사용자가 직관적인 도구를 통해 이미지와 동영상을 편집할 수 있게 해줍니다. 텍스트 추가, 스티커 추가, 손가락 그림, 필터 적용 및 작업 취소 기능을 지원합니다. 앱 내에서 원활한 멀티미디어 편집을 위해 설계되었으며, 안드로이드와 iOS에 부드럽게 통합됩니다. 풍부한 미디어 강화 기능을 활용해 매력적인 스토리를 쉽게 만들 수 있도록 합니다.
사용 사례
소셜 미디어 스토리 만들기
사용자 생성 콘텐츠 편집
스토리 기능을 갖춘 메시징 앱 빌드
이미지와 비디오에 창의적인 오버레이 추가
실시간 그림 그리기 및 주석 달기 활성화
주요 기능
텍스트 오버레이 지원
스티커 추가
손가락 드로잉 도구
필터 응용 프로그램
실행 취소 기능
크로스 플랫폼 호환성
적합한 대상
소셜 네트워킹 앱
메시징 플랫폼
콘텐츠 생성 도구
모바일 스토리텔링 애플리케이션
크리에이티브 사진 및 비디오 편집기
고려 사항
미디어 액세스 권한이 필요합니다
큰 비디오 파일에서는 성능이 달라질 수 있습니다
스티커 자산에 대한 사용자 지정 제한
기반 플랫폼 렌더링에 따라 다름
내보내기 형식에 대해 추가 처리가 필요할 수 있습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
flutter_story_editor
This package is created using style of the WhatsApp story image/video editor, with which you can edit images and videos both together. You can add texts, stickers, freehand finger drawing, apply filter, and undo. The edited images will be returned in a onSave call back as List of Files. You can then upload it to some storage or save it locally to your gallery.
Video editing for now only support trimming. In future more video editing features will be added.
Features
✅ You can edit Images, and videos both together.
✅ Draggable fancy text with (custom colors, font families, and resize)
✅ Draggable stickers & emojis
✅ Apply filters to images
✅ Freehand drawing over images
✅ Trimming video frames
Future features
🚀 Drawing painting over video frames (requires platform specific work)
🚀 More image and video editing functionality like (WhatsApp & Instagram) stories
🚀 The UI is currently like WhatsApp, but I think we should go with something unique for flutter (your contribution & ideas will be very invaluable)
🚀 improve and enhance performance and existing features.
Package Demo
Installation
Add flutter_story_editor: latest_version to your pubspec.yaml and then import it.
<key>NSCameraUsageDescription</key><string>Used to demonstrate image picker plugin</string><key>NSMicrophoneUsageDescription</key><string>Used to capture audio for image picker plugin</string><key>NSPhotoLibraryUsageDescription</key><string>Used to demonstrate image picker plugin</string>
How to use
// Inialize controllers within the stateFlutterStoryEditorController controller = FlutterStoryEditorController();
finalTextEditingController _captionController = TextEditingController();
// TODO: create a method to pick files (videos and images) either separate or together.// Select files selectMedia().then((value) {
if (_selectedMedia != null && _selectedMedia!.isNotEmpty) {
showModalBottomSheet(
isScrollControlled: true,
isDismissible: false,
enableDrag: false,
context: context,
builder: (context) {
returnFlutterStoryEditor(
controller: controller,
captionController: _captionController,
selectedFiles: _selectedMedia,
onSaveClickListener: (files) {
// Here you go with your edited files.
}
);
},
);
}
},
);
}, icon: constIcon(Icons.upload, size: 50,)),
),
For more information : visit example project inside example/example.dart.
Screenshots
Initial view & Multiple images selected
Images & videos together & Apply filters
Crop, scale and rotate & Add draggable stickers
Add emojis & Add draggable fancy text
Draw freehand painting over images
Must read
The initial release of flutter_story_editor may have small bugs, and issues. If you found some, and you're willing to contribute feel free to create issue and rasie a PR. Make sure you inform me through my LinkedIn DM for the issues you create in both cases either or not if you want to contribute.
This package will be improved more along the time, your contribution will be very invaluable.