extensions library

Re-exports string/date validation extensions.

Classes

PasswordStrength
Represents the strength grading of a given password.
PasswordValidationConfig
Configuration for password validation.
PasswordValidator
Canonical validator for password inputs.

Extensions

AsyncFunction0X on Future<R> Function()
Extension methods for zero-argument async functions (Future<R> Function()).
BoolNullableX on bool?
Extensions for nullable bool values providing safe defaults.
ComparableX on T
Range and ordering helpers for any self-comparable type (String, DateTime, Duration, and your own Comparable types).
DateTimeNullableX on DateTime?
Extension on nullable DateTime values.
DateTimeX on DateTime
Utilities and convenience getters for DateTime objects.
DoubleNullableX on double?
Specific extensions for nullable double to preserve explicit type contracts.
DurationNaturalLanguageX on Duration
Alternative duration formatting for human-readable UI copy.
DurationX on Duration
Formatting, arithmetic, and utility methods for Duration.
Function0X on R Function()
Extension methods for zero-argument functions (R Function()).
FutureX on Future<T>
Timeout, recovery, and chaining helpers on Future.
IntFormatX on int
Integer-only formatting: ordinals, Roman numerals, and radix output.
IntNullableX on int?
Specific extensions for nullable int to preserve explicit type contracts.
IntX on int
Core extensions on int adding digits access and iterative range utilities.
IterableFutureX on Iterable<T>
Async mapping helpers on any Iterable.
IterableNullableX on Iterable<T?>
Extension on Iterable providing utilities for filtering and transforming nullable elements safely.
IterableNumX on Iterable<T>
Comprehensive extensions on Iterable for numeric types.
IterableOfIterablesX on Iterable<Iterable<E>>
Extension on Iterable of Iterables providing methods to flatten nested collections.
IterableX on Iterable<T>
General utility extension on Iterable providing flat-mapping, grouping, and chunking capabilities.
ListNullableX on List<T>?
Safe defaults for nullable List references.
ListX on List<T>
Index-safe access and immutable reordering helpers on List.
MapNullableValuesX on Map<K, V?>
Extension on Map with nullable values providing null-filtering utilities.
MapNullableX on Map<K, V>?
Extension on nullable Map values providing safe defaults.
MapX on Map<K, V>
Functional extensions on Map and nullable Map types.
NumDurationX on num
Creates Duration values from numbers, such as 5.seconds.
NumFormatX on num
Human-readable string formatting for num values.
NumNullableX on num?
Extensions for nullable num values providing safe defaults. Covers both int? and double? due to Dart's type hierarchy.
NumX on num
Shared mathematical, formatting, and conversion extensions on num.
ObjectNullableX on T?
Null-aware helpers available on any nullable value.
RandomX on Random
Extension methods for Random.
RegExpX on RegExp
Extension methods for RegExp.
ScopeFunctionsX on T
Kotlin-style scope functions available on every non-null value.
SetNullableX on Set<T>?
Safe defaults for nullable Set references.
SetX on Set<T>
Set algebra and membership helpers on Set.
StopwatchX on Stopwatch
Extension helpers for Stopwatch.
StreamListX on Stream<List<T>>
Extension providing collection-oriented functional operations for Streams emitting Lists.
StreamX on Stream<T>
General-purpose utility extension on Stream providing enhanced filtering, timing controls (like debounce/throttle), error handling, and scanning operators.
StringDateX on String
Date parsing and arithmetic utilities for date strings.
StringNullableX on String?
Extension on nullable String providing safe fallback and mapping methods.
StringValidation on String
A vast collection of validation utilities mapped as getters on String.
StringX on String
Main extension on String providing comprehensive conversion and formatting tools.
UriNullableX on Uri?
Safe defaults for nullable Uri references.
UriX on Uri
Convenience accessors and immutable builders for Uri.