animated_page_view_scrolling
Beauty PageView Scrolling Package For Flutter.
To use this package, add animated_page_view_scrolling as a dependency in your pubspec.yaml file.
example:
AnimatedPageViewScrolling(
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 and put name it to custom model
assets/images
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',
),
];