flutter_keynote 0.1.3

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

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

5
likes
70
pub points
42%
popularity

Publisher

albertochamorro.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, page_transition, provider

More

Packages that depend on flutter_keynote