flutter_keynote 0.1.3 copy "flutter_keynote: ^0.1.3" to clipboard
flutter_keynote: ^0.1.3 copied to clipboard

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.


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

4
likes
40
pub points
0%
popularity

Publisher

verified publisheralbertochamorro.dev

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

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter, page_transition, provider

More

Packages that depend on flutter_keynote