color_filter 0.1.4
color_filter: ^0.1.4 copied to clipboard
Option to rotate, flash, mode, filters, timer, exposure, effects, music, gallery for image clicked in story.
color_filter #
Option to rotate, flash, mode, filters, timer, exposure, effects, music, gallery for image clicked in story.
Getting Started #

Add StoryFilter Class With Widget
@override
Widget build(BuildContext context) {
GlobalKey<StoryFilterState> globalKey = GlobalKey(); return StoryFilter(
{Key:globalKey,// pass global key
this.controllerWidget,// Capture Button Widgets
this.imageEditOptionWidget,// Image Filter Widgets
this.videoEditOptionWidget, // Video Filter Widget
});
copied to clipboard
Video Capturing:
GlobalKey<StoryFilterState> globalKey = GlobalKey();
globalKey.currentState.startVideo();
globalKey.currentState.stopVideo();
globalKey.currentState.pauseVideo();
globalKey.currentState.resumeVideo();
copied to clipboard
Switch Camera:
GlobalKey<StoryFilterState> globalKey = GlobalKey();
globalKey.currentState.changCamera();
copied to clipboard
Set Gallery Image:
GlobalKey<StoryFilterState> globalKey = GlobalKey();
globalKey.currentState.setGalleryImage(imageFile.path);
copied to clipboard
Video Tools:
- Boomerang
- Reverse
- FastForward
- SlowMotion
- Music
- Filter
Applying video tools using below function:
static const typeBoomRange = 1;
static const typeReverse = 2;
static const typeFastForward = 3;
static const typeSlowMotion = 4;
static const typeMergeMusic = 5;
static const typeFilter = 6;//Function
videoEditing(StoryFilter.typeBoomRange)
copied to clipboard
Image tools:
- Rotation