currentPage property

Stream<AppPages> currentPage

Stream AppPages to know the current page

Implementation

Stream<AppPages> get currentPage {
  return _appBloc.stream.transform(
    StreamTransformer.fromHandlers(
      handleData: (data, sink) => sink.add(data.currentPage),
    ),
  );
}