ThreeSixtyPageView constructor
const
ThreeSixtyPageView({
- Key? key,
- PageController? pageController,
- required IndexedWidgetBuilder itemBuilder,
- required int itemCount,
- EdgeInsets pageMargin = const EdgeInsets.all(0.0),
- dynamic onPageChanged(
- int page
create a scrollable list that scroll page by page in both direction
vertically
and horizontally
at the same time.
provide a PageView.builder with ability to slide in 4 direction
using the itemBuilder Callback
The itemCount, itemBuildermust not be null.
Implementation
/// provide a [PageView.builder] with ability to slide in 4 direction
/// using the [itemBuilder] Callback
///
/// The [itemCount], [itemBuilder]must not be null.
const ThreeSixtyPageView({
Key? key,
this.pageController,
required this.itemBuilder,
required this.itemCount,
this.pageMargin = const EdgeInsets.all(0.0),
this.onPageChanged,
}) : super(key: key);