Flutter Keynote Package

A Flutter package to create presentations very easy with Flutter pages.

<br/>

flutter platform BSD-2-Clause

Usage

It is really easy to use! You should ensure that you add the flutter_keynote as a dependency in your flutter project.

dependencies:
  flutter_keynote:

Then you can use the KeynoteApp widget:

import 'package:flutter_keynote/flutter_keynote.dart';

final List<Widget> slides = [
  FirstSlide(),
  SecondSlide(),
  Hero1Slide(),
  Hero2Slide(),
  AnimatedContainerSlide(),
  FlareSlide(),
  LastSlide(),
];

class KeynoteExampleApp extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return KeynoteApp(
      title: 'Flutter Keynote Example',
      slides: slides,
      transition: KeynoteTransition.fade, // Default value
      theme: ThemeData(
        textTheme: TextTheme(
          display4: TextStyle(
            fontSize: 70.0,
            fontWeight: FontWeight.bold
          )
        )
      ),
      swipeGesture: true, // Default value
    );
  }

}

License

BSD 2-Clause

Libraries

flutter_keynote