Skip to content

A flutter package which will help you to add page flip effect to widgets in your app.

License

Notifications You must be signed in to change notification settings

oyedsamu/page_flip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pub

Page Flip Widget

A flutter package which will help you to add page flip effect to widgets in your app.

Re-created by Shivam Mishra @shivbo96

Buy Me A Coffee

Usage

Use this package as a library

  1. Depend on it Add this to your package's pubspec.yaml file:
dependencies:
  page_flip: <VERSION>
  1. Install it You can install packages from the command line: with Flutter:
$ flutter pub get

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

  1. Import it Now in your Dart code, you can use:
import 'package:page_flip/page_flip.dart';

Example

   PageFlipWidget(
        key: _controller,
        backgroundColor: Colors.white,
        showDragCutoff: false,
        lastPage: const Center(child: Text('Last Page!')),
        children: <Widget>[
          for (var i = 0; i < 5; i++) DemoPage(page: i),
        ],
      )
      

refer to example/lib/main.dart

Screenshots

More information

Pub package Flutter documentation.

About

A flutter package which will help you to add page flip effect to widgets in your app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 56.3%
  • C++ 24.1%
  • CMake 14.2%
  • HTML 2.6%
  • Swift 1.4%
  • C 1.1%
  • Other 0.3%