diff --git a/lib/transformer_page_view.dart b/lib/transformer_page_view.dart index f4bc33f..a533c10 100644 --- a/lib/transformer_page_view.dart +++ b/lib/transformer_page_view.dart @@ -146,7 +146,7 @@ class TransformerPageController extends PageController { double get realPage { double page; if (position.maxScrollExtent == null || position.minScrollExtent == null) { - page = 0.0; + page = initialPage.toDouble(); } else { page = super.page; }