I’m following a tutorial on Flutter Bloc and I’m having an issue with the stream_transform library.
I copied the exact code from the tutorial but I’m still getting an error:
EventTransformer<E> throttleDroppable<E>(Duration duration) {
return (events, mapper) {
return droppable<E>().call(events.throttle(duration), mapper);
};
}
the function ‘droppable’ isn’t defined.
Does this have something to do with the library?
Imports don’t seem to be the issue…
New contributor
lan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.