kenburns panning and zooming
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,),
),
),
configuration
you can configure kenburns widget
kenburns(
minanimationduration : duration(milliseconds: 3000),
maxanimationduration : duration(milliseconds: 10000),
maxscale : 8,
child: ...
});
download
https://pub.dev/packages/kenburns
dependencies:
kenburns:
Comments are closed.