我通過在 Swiper 小部件中添加以下代碼找到了解決此問題的方法。
pagination: new SwiperPagination(
alignment: Alignment.bottomCenter,
builder: new DotSwiperPaginationBuilder(
color: Colors.grey, activeColor: Color(0xff38547C)),
),
control: new SwiperControl(
color: Color(0xff38547C),
),
添加此代碼后,output 是這樣的: