Как мне расположить индикатор просмотра страницы справа для вертикальной прокрутки?
Widget _buildIndicator() {
return PageViewIndicator(
length: length,
pageIndexNotifier: pageIndicatorIndex,
normalBuilder: (controller, index) => ScaleTransition(
scale: CurvedAnimation(parent: controller, curve: Curves.ease),
child: Circle(
color:Theme.of(context).accentColor,
size: 8.0,
),
),
highlightedBuilder: (controller, index) => ScaleTransition(
scale: CurvedAnimation(parent: controller, curve: Curves.ease),
child: Circle(
color: Colors.white,
size: 10.0,
),
),
);