better_page_turn

Creator: coderz1093

Last updated:

0 purchases

better_page_turn Image
better_page_turn Images

Languages

Categories

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 In This Product:

Customer Reviews

There are no reviews.