attach method
Called to provide a stream of ControllerFeedback
events
into the TikTokStyleFullPageScroller such as jumpToPosition
and animateToPosition along with their associated data..
Implementation
Stream<ControllerFeedback>? attach() {
feedback = StreamController.broadcast(onListen: () {
print("Something is listening to the stream of feedback events");
}, onCancel: () {
print("onCancel has been called");
});
return feedback?.stream;
}