Skip to main content
1

🌊 Stream Utilities

Stream<T>
Simulates a live stream of data that emits up to count items with a specified interval between each emission. Ideal for testing StreamBuilder widgets.
bool
Returns true based on a specific probability chance (0.0 to 1.0). Used for simulating real-world scenarios like transient network errors.
2

🆔 Identifiers & Finance

String
Generates a Mock UUID (v4 format). Sufficient for UI testing and unique keys, but not cryptographically secure.
The generated keys are NOT cryptographically secure.
String
Generates a mock credit card number that is valid according to the Luhn checksum algorithm. Ideal for testing form validation logic.
3

📅 Time & Date

DateTime
Generates a random DateTime within the past daysBack (default 365 days). Useful for mock user data or post timestamps.
ExtendGenerator
4

🎨 General Data

Color
Generates a random, fully opaque (alpha=255) color. Ideal for visual debugging and distinguishing containers.
String
Generates a mock email address using a random username and common domain names.
Future<String?>
Retrieves the current text content from the system clipboard.