theone_book_designer 1.0.9
theone_book_designer: ^1.0.9 copied to clipboard
The One Book Designer is a Flutter package that provides a customizable widget for displaying book page animations.
The One Book Designer #
The One Book Designer is a Flutter package that provides a customizable widget for displaying book page animations. This widget allows you to create an engaging reading experience by animating the transition between pages using a list of image URLs.
Features #
- Page Animation: Smooth animations for flipping through pages.
- Support for Remote Images: Easily display images from the web.
- Customizable: Integrate with your existing Flutter applications with minimal setup.
Installation #
To use The One Book Designer in your Flutter project, add the following dependency to your pubspec.yaml
file:
dependencies:
theone_book_designer: ^1.0.0 # Replace with the actual version
copied to clipboard
Example #
import 'package:flutter/material.dart';
import 'package:theone_book_designer/theone_book_designer.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'The One Book Designer Example',
home: Scaffold(
appBar: AppBar(
title: const Text('Book Page Animation Example'),
),
body: const TheOneBookDesigner(
imageUrls: [
'https://picsum.photos/160/180?random=1',
'https://picsum.photos/160/180?random=2',
'https://picsum.photos/160/180?random=3',
],
),
),
);
}
copied to clipboard
- Powered by The One Technologies