flutter_keynote 0.1.3

  • Readme
  • Changelog
  • Example
  • Installing
  • 69

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

[0.1.0] - Initial version #

  • Added KeynoteApp
  • Added KeynoteTransition
  • Added docs
  • Added example usage
  • Added theming support
  • Added swipe gesture support

[0.1.1] - Added License and Author #

  • Added LICENSE file and author info

[0.1.2] - Added support to more keys #

  • Added support to pageUp, pageDown, arrowUp and arrowDown

[0.1.3] - Added macos to the example app #

  • Added macos to the example app

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:example/src/app.dart';

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

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_keynote: ^0.1.3

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_keynote/flutter_keynote.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
38
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
69
Learn more about scoring.

We analyzed this package on Jul 9, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.14
  • Flutter: 1.17.5

Analysis suggestions

Package not compatible with SDK dart

Because:

  • flutter_keynote that is a package requiring null.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
page_transition ^1.1.5 1.1.5
provider ^4.0.2 4.3.0
Transitive dependencies
collection 1.14.12 1.14.13
meta 1.1.8 1.2.1
nested 0.0.4
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8 2.1.0-nullsafety
Dev dependencies
flutter_test