utils library
Opt-in utilities used internally by flutter_notification_wrapper.
These are exposed as a separate entrypoint so they don't pollute the main
package namespace (the names Logger, Rx, Debouncer collide with many
popular packages). Import only if you want to reuse them:
import 'package:flutter_notification_wrapper/utils.dart';
Classes
- DebounceDurations
- A collection of commonly used debounce durations.
- Debouncer
- A utility class for debouncing function calls.
- Logger
- A simple, configurable logger for the notification wrapper package.
- NotificationDebouncer
- A specialized debouncer for handling notification-related operations.
-
Rx<
T> - A simple reactive wrapper that notifies listeners when its value changes.
- RxBool
- A specialized Rx for boolean values with additional convenience methods.
- RxInt
- A specialized Rx for integer values with additional convenience methods.
-
RxList<
T> - A specialized Rx for List values with additional convenience methods.
- RxString
- A specialized Rx for String values with additional convenience methods.
Enums
- LogLevel
- Log levels for controlling logging output