···4545 BuildContext context,
4646 EditorVideo video,
4747 );
4848+4949+ /// Opens the Story Image Editor with a fixed 9:16 aspect ratio canvas.
5050+ ///
5151+ /// The [source] image is displayed in the editor with story-appropriate
5252+ /// tools (text, paint, stickers, emoji, filter, blur - NO crop/rotate).
5353+ ///
5454+ /// Returns `null` if the user cancels without completing the edit.
5555+ Future<XFile?> openStoryImageEditor(BuildContext context, XFile source);
5656+5757+ /// Opens a blank canvas Story Image Editor (1080x1920).
5858+ ///
5959+ /// Optionally adds [backgroundImage] as a movable layer on the canvas.
6060+ /// This gives more flexibility for positioning the image.
6161+ ///
6262+ /// Returns `null` if the user cancels without completing the edit.
6363+ Future<XFile?> openStoryBlankCanvasEditor(
6464+ BuildContext context, {
6565+ XFile? backgroundImage,
6666+ Color backgroundColor = const Color(0xFF000000),
6767+ });
6868+6969+ /// Opens the Story Video Editor with story-appropriate tools.
7070+ ///
7171+ /// Uses the same limited toolset as the story image editor
7272+ /// (paint, text, filter, blur, emoji, stickers - NO crop/rotate/tune).
7373+ ///
7474+ /// Returns `null` if the user cancels without completing the edit.
7575+ Future<VideoEditorResult?> openStoryVideoEditor(
7676+ BuildContext context,
7777+ EditorVideo video,
7878+ );
4879}