booked_utils library

Classes

BlocPopBuilder<B extends StateStreamable<S>, S>
A convenience widget that toggles the ability to pop the current route based on a BLoC/Cubit state.
ChunkTransformer<T>
A StreamTransformer that splits incoming lists into smaller fixed-size chunks.
StreamControllerWrapper<T>
A StatefulWidget that provides a StreamController to its child builder and handles the controller's lifecycle.
ValueNotifierWrapper<T>
A StatefulWidget that manages a ValueNotifier and provides it to its child builder.

Extensions

DoOnFirstEvent on Stream<T>
An extension on Stream that allows performing an action on the first event.

Typedefs

CallbackWidgetBuilder<T> = Widget Function(T value)
Signature for a function that creates a widget for a given value of type T.