Pakete, Repositories und App-Kategorien suchen

Cover von flutter_story_editor
Paketdetailsv0.0.2

flutter_story_editor

Dieses Paket verwendet den Stil des WhatsApp-Geschichte-Bild-/Videobearbeiters. Sie können Bilder und Videos bearbeiten. Sie können Texte, Aufkleber, Fingerzeichnungen hinzufügen, Filter anwenden und rückgängig machen.

AndroidiOS
30-Tage-Downloads
35
Likes
47
Pub-Punkte
130

Paket installieren

flutter pub add flutter_story_editor

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Ein Flutter-Paket, das von WhatsApps Story-Editor inspiriert ist und Nutzern ermöglicht, Bilder und Videos mit intuitiven Werkzeugen zu bearbeiten. Es unterstützt das Hinzufügen von Text, Aufklebern, Fingerzeichnungen, die Anwendung von Filtern sowie das Rückgängigmachen von Aktionen. Speziell für nahtlose Multimedia-Bearbeitung in Apps entwickelt, integriert es sich reibungslos auf Android und iOS. Das Paket vereinfacht die Erstellung ansprechender Stories mit reichhaltigen Medienverbesserungen.

Anwendungsfälle

  • Soziale Medien-Geschichten erstellen
  • Benutzererzeugten Inhalt bearbeiten
  • Messaging-Apps mit Story-Funktionen erstellen
  • Kreative Overlays zu Bildern und Videos hinzufügen
  • Echtzeit-Zeichnung und -Anmerkung aktivieren

Hauptmerkmale

  • Textüberlagerungsunterstützung
  • Aufkleber hinzufügen
  • Fingerzeichentool
  • Filteranwendung
  • Rückgängig-Funktion
  • Plattformübergreifende Kompatibilität

Geeignet für

  • Soziale Netzwerk-Apps
  • Messaging-Plattformen
  • Content-Erstellungstools
  • Mobile Storytelling-Anwendungen
  • Kreative Foto- und Videobearbeitung

Hinweise

  • Berechtigung für Medienzugriff erforderlich
  • Die Leistung kann bei großen Videodateien variieren
  • Eingeschränkte Anpassungsmöglichkeiten für Aufkleber-Assets
  • Abhängig von der zugrundeliegenden Plattformrenderung
  • Möglicherweise ist zusätzliche Behandlung für Exportformate erforderlich

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

flutter_story_editor Pub

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.

dartimport 'package:stories_editor/stories_editor.dart';

Android

add the following code to your AndroidMAnifest.xml file

<activity
 android:name="com.yalantis.ucrop.UCropActivity"
 android:screenOrientation="portrait"
 android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
iOS

add the following code to your info.plist file

<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 state
  FlutterStoryEditorController controller = FlutterStoryEditorController();
  final TextEditingController _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) {

                        return FlutterStoryEditor(
                            controller: controller,
                            captionController: _captionController,
                            selectedFiles: _selectedMedia,
                            onSaveClickListener: (files) {
                              // Here you go with your edited files.
                            }
                        );
                      },
                    );
                  }
                },
              );
            }, icon: const Icon(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.

Created & Maintained By

@MuhammadAdnan, LinkedIn : @MuhammadAdnan , Instagram : @MuhammadAdnan.

YouTube : @eTechViral

Kategorien

Abhängigkeiten

Abhängigkeiten 13 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden

Noch keine Daten verfügbar.