best-flutter / transformer_page_view

PageTransformer for flutter
Other
521 stars 149 forks source link

Added the underlying pageController to the TransformInfo. #18

Open Scopewriter opened 5 years ago

Scopewriter commented 5 years ago

Hi, I have added the underlying pageController to the TransformInfo, as more fine grained control is sometimes needed in transformers. In my specific use case, I'm also doing animations elsewhere on the screen based on the swipe event and therefore needs the from- and to index, direction etc. in the same event.

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 34


Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/transformer_page_view.dart 0 2 0.0%
<!-- Total: 0 2 0.0% -->
Files with Coverage Reduction New Missed Lines %
lib/transformer_page_view.dart 2 56.52%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 30: -0.2%
Covered Lines: 139
Relevant Lines: 289

💛 - Coveralls
shivam-7500 commented 4 years ago

Scopewriter can u plz explain how u added a pagecontroller property to the TransformerPageView.builder. In my specific use case, I also need an explicit controller for controlling the state of the app bar