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
});
Video Capturing:
 
GlobalKey<StoryFilterState> globalKey = GlobalKey();
globalKey.currentState.startVideo();
globalKey.currentState.stopVideo();
globalKey.currentState.pauseVideo();
globalKey.currentState.resumeVideo();
Switch Camera:
GlobalKey<StoryFilterState> globalKey = GlobalKey();
globalKey.currentState.changCamera();
Set Gallery Image:
GlobalKey<StoryFilterState> globalKey = GlobalKey();
globalKey.currentState.setGalleryImage(imageFile.path);
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)

Image tools:
  • Rotation

Libraries

StoryFilter
color_filter
color_filter_utils
filter
image_filter
image_filter_utils
sub_filter
utils