better_page_turn

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

better page turn

better_page_turn #
A simple Page Turn Widget for Flutter.

Install Started #

Add this to your pubspec.yaml file:

dependencies:
better_page_turn: ^0.0.6
copied to clipboard

Install it

$ flutter packages get
copied to clipboard
Normal usage #
Container(
child: Padding(
padding: EdgeInsets.all(20.0),
child: LayoutBuilder(builder: (context, constraints) {
return HorizontalFlipPageTurn(
children: [
_buildWidget(
0,
Colors.yellowAccent,
horizontalFlipPageTurnController.animToLeftWidget,
horizontalFlipPageTurnController.animToRightWidget,
),
_buildWidget(
1,
Colors.purpleAccent,
horizontalFlipPageTurnController.animToLeftWidget,
horizontalFlipPageTurnController.animToRightWidget,
),
_buildWidget(
2,
Colors.greenAccent,
horizontalFlipPageTurnController.animToLeftWidget,
horizontalFlipPageTurnController.animToRightWidget,
),
],
cellSize: Size(constraints.maxWidth, 200),
controller: horizontalFlipPageTurnController,
);
}),
),
),
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.