PageView constructor
PageView({})
Implementation
PageView({
super.id,
super.attributes,
super.style,
super.className,
this.initialPage,
this.onPageChange,
required this.pages,
}) : super(tag: 'div') {
router = Router(
hasInitialPage: initialPage != null,
);
if (initialPage != null) {
_matchRoute(initialPage!);
}
}