kenburns 1.0.0 copy "kenburns: ^1.0.0" to clipboard
kenburns: ^1.0.0 copied to clipboard

outdated

Kenburns effect on flutter. The Ken Burns effect is a type of panning and zooming effect used in video production from still imagery.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
import 'package:kenburns/kenburns.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Padding(
          padding: const EdgeInsets.all(30.0),
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.stretch,
            mainAxisSize: MainAxisSize.max,
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Container(
                height: 300,
                child: KenBurns(
                    child: Image.network("https://www.photo-paysage.com/?file=pic_download_link/picture&pid=3100", fit: BoxFit.cover,),
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
25
likes
0
pub points
57%
popularity

Publisher

unverified uploader

Kenburns effect on flutter. The Ken Burns effect is a type of panning and zooming effect used in video production from still imagery.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on kenburns