From c06bc3ac7ff2e5bb8f75bcc768c5b5538f9b5ef7 Mon Sep 17 00:00:00 2001 From: dafinrs Date: Tue, 22 Oct 2019 06:00:32 +0700 Subject: [PATCH] wraping indicator dot --- lib/src/swiper_pagination.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/src/swiper_pagination.dart b/lib/src/swiper_pagination.dart index a866de2..6934ab1 100644 --- a/lib/src/swiper_pagination.dart +++ b/lib/src/swiper_pagination.dart @@ -217,15 +217,13 @@ class DotSwiperPaginationBuilder extends SwiperPlugin { } if (config.scrollDirection == Axis.vertical) { - return new Column( + return new Wrap( key: key, - mainAxisSize: MainAxisSize.min, children: list, ); } else { - return new Row( + return new Wrap( key: key, - mainAxisSize: MainAxisSize.min, children: list, ); }