Friday 2 August 2019

A type of panning and zooming effect used in video production from still imagery

 zooming effect

KenBurns

The Ken Burns effect is a type of panning and zooming effect used in video production from still imagery.
Wrap your image with a KenBurns widget
Container(
      height: 300,
      child: KenBurns(
        child: Image.network("https://lemag.nikonclub.fr/wp-content/uploads/2017/07/08.jpg", fit: BoxFit.cover,),
      ),
),
 zooming effect



Configuration

You can configure KenBurns Widget
KenBurns(
    minAnimationDuration : Duration(milliseconds: 3000),
    maxAnimationDuration : Duration(milliseconds: 10000),
    maxScale : 8,
    child: ...
  });

Download

dependencies:
  kenburns: 

GitHub

Kenburns effect on flutter — Read More
Latest commit to the master branch on 7-29-2019
Download as zip

Dart