getCurrentPageIndex method
get current page index
example:
int currentPageIndex = await _controller.getCurrentPageIndex();
Implementation
Future<int> getCurrentPageIndex() async {
return await _channel.invokeMethod('get_current_page_index');
}