Dies ist ein Paket im Stil des Instagram-Story-Erstellers, mit dem Sie Bilder mit Bildern, Texten, Aufklebern (Gifs) und Fingerzeichnungen erstellen können.
Aus öffentlichen Paketdaten erstellte Orientierung.
Das stories_editor-Paket ermöglicht Benutzern die Erstellung von Instagram-artigen Geschichten innerhalb von Flutter-Anwendungen. Es unterstützt das Hinzufügen von Bildern, Text, animierten Aufklebern (GIFs) sowie freihandmäßiges Zeichnen über Finger-Eingabe. Speziell für Multimedia-Editing entwickelt, ermöglicht es Echtzeit-Komposition, Anpassung und Export von Geschichten. Das Paket ist ideal für soziale Medien-Funktionen, Content-Erstellungstools oder interaktive Geschichtenerzählungs-Apps. Mit Fokus auf Einfachheit und Leistung entwickelt, lässt sich das Paket nahtlos in bestehende Flutter-Projekte integrieren.
Benötigt manuelle Behandlung von Bild-/GIF-Ressourcen
Die Leistung kann bei komplexen Zusammensetzungen variieren
Keine integrierten Komprimierungsoptionen erwähnt
Abhängig von der externen Assetverwaltung
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
I won't be giving support or any update for a while beacuse i don't have time to spend in this project.
Flutter version 3.3.6
Previous branches was deleted (4-Nov-2022)
if you want to make a ull request you must be using the new "main" branch, the problems with gallery, overflow design were solved and the function to create Gif / mp4 was removed due to performance issues.
flutter stories editor
This is a package created in the style of the instagram story creator, with which you can create images with images, texts, stickers (Gifs), finger drawing. They can be exported as an image to the gallery or shared directly to social networks.
Create a StoriesEditor() widget with the follow params:
StoriesEditor(
giphyKey: '[YOUR GIPHY API KEY]', /// (String) required param
onDone: (String uri){
/// uri is the local path of final render Uint8List/// here your code
},
colorList: [] /// (List<Color>[]) optional param
gradientColors: [] /// (List<List<Color>>[]) optional param
middleBottomWidget: Container() /// (Widget) optional param, you can add your own logo or text in the bottom tool
fontFamilyList: [] /// (List<String>) optional param
isCustomFontList: ''/// (bool) if you use a own font list set value to "true"
onDoneButtonStyle: Container() /// (Widget) optional param, you can create your own button style
onBackPress: /// (Future<bool>) optional param, here you can add yor own style dialog
editorBackgroundColor: /// (Color) optional param, you can define your own background editor color
galleryThumbnailQuality: /// (int = 200) optional param, you can set the gallery thumbnail quality (higher is better but reduce the performance)
);
Issue of photo_View: photo_view#499
Issue log => To safely refer to a widget's ancestor in its dispose() method, save a reference to the ancestor by calling dependOnInheritedWidgetOfExactType() in the widget's didChangeDependencies() method.