recollect_core library
Classes
- Moment
- A rich, human-friendly wrapper around date and time values.
- Period
- A duration of time that understands human-scale units — including years and months.
- Radix
- Converts integers between numeral bases — from binary (base-2) all the way up to base-256.
- Strings
- A set of String utility functions that aim to extend the set of functions available the core String class as well as provding safe methods when working with nullable Strings. A Strings method will never thrown an NPE and aims to provide the expected result by treating the null as an empty String or a space filled String where a range access is applied.
- SystemFonts
- Singleton that discovers and indexes system fonts at runtime.
Enums
Extensions
- Ba on int
- Quick base-conversion getters on non-nullable int.
-
DecodeUTF8
on List<
int> - Double on double?
- Helpful extensions on nullable double values.
- Int on int?
- Extensions on nullable int — null-safe defaults, duration shortcuts and date utilities.
-
ListExtensions
on Iterable<
T> ? - Extensions on nullable Iterable for safe access, indexed iteration, and aggregate calculations.
- Num on num?
- Extensions on nullable num for validation, range checks, formatting, and mathematical helpers.
- StringEx on String
- Extensions on String for case conversion, validation, truncation, and general text manipulation.
- UI8L on Uint8List
Constants
- A → const String
-
AM/PM - a → const String
-
AM/PM (Lowercase) - alphaMask → const int
- Combined bitmask matching any alphabetic character (upper or lower).
- alphaNumMask → const int
- Combined bitmask matching any alphanumeric character (letters or digits).
-
ascii
→ const List<
int> - A lookup table mapping each ASCII code point (0-127) to its character category bitmask.
- asciiEnd → const int
-
The code point of the last ASCII character (DEL,
0x7F). - asciiStart → const int
-
The code point of the first ASCII character (NUL,
0x00). - At → const String
- at → const String
- backSlash → const String
- c0End → const int
-
The last code point in the C0 control character range (
0x1F). - c0Start → const int
-
The first code point in the C0 control character range (
0x00). - colon → const String
- comma → const String
- D → const String
-
Day of Month - dash → const String
- dateNumeric → const String
-
Date (Numeric) - DD → const String
-
Day of Month (Padded) - ddd → const String
-
Day of Week (Short) - dddd → const String
-
Day of Week (Full) -
defaultFormatStyle
→ const List<
String> - digitMask → const int
-
Bitmask for digit characters (
0-9). - Do → const String
-
Day of Month (Ordinal) - dot → const String
- H → const String
-
Hour (24-Hour Clock) - h → const String
-
Hour (12-Hour Clock) - HH → const String
-
Hour (24-Hour Clock, Padded) - hh → const String
-
Hour (12-Hour Clock, Full) - lowerMask → const int
-
Bitmask for lowercase ASCII letters (
a-z). - M → const String
-
Month (Number) - m → const String
-
Minute - MM → const String
-
Month (Padded) - mm → const String
-
Minute (Long) - MMM → const String
-
Month (Short) - mmmm → const String
-
Month (Full) - Mo → const String
-
Month (Ordinal) -
monthNames
→ const Map<
int, String> - Of → const String
- of → const String
- s → const String
-
Second - semicolon → const String
- slash → const String
- space → const String
- ss → const String
-
Second (Long) - T → const String
-
Time (12-Hour) - t → const String
-
Time (24-Hour) - The → const String
- the → const String
- underscoreMask → const int
-
Bitmask for the underscore character (
_). - unicodeEnd → const int
-
The highest valid Unicode code point (
U+10FFFF). - upperMask → const int
-
Bitmask for uppercase ASCII letters (
A-Z). -
weekDayNames
→ const Map<
int, String> - yy → const String
-
Year (Short) - yyyy → const String
-
Year (Full)