animated_page_view_scrolling 0.0.2 animated_page_view_scrolling: ^0.0.2 copied to clipboard
= Beauty PageView Package For Flutter
animated_page_view #
animated_page_view_scrolling
Beauty PageView Scrolling Package For Flutter.
Getting started #
To use this package, add animated_page_view_scrolling as a dependency in your pubspec.yaml file.
Usage #
example:
AnimatedPageView(
myModel: modelValue1,
heightMainPageView: 400,
heightItem: 320,
viewportFraction: 0.80,
)
create assets folder in your root project and create into assets folder images folder and put your images in this folder. add in pubspec.yaml assets/images.
assets/images
in root folder and in pubspec.yaml
just put name of image to the model
Custom model:
class MyModel1 {
String? image;
MyModel1({this.image});
}
var modelValue1 = [
MyModel1(
image: 'mainp1.png',
),
MyModel1(
image: 'mainp2.png',
),
MyModel1(
image: 'mainp3.png',
),
];