Skip to content

Flutter package to create presentations like Flutter applications

License

Notifications You must be signed in to change notification settings

achamorro-dev/flutter_keynote

Repository files navigation

Flutter Keynote Package

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


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

About

Flutter package to create presentations like Flutter applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published