constants library
Constants
- DEFAULT_MAX_WIDTH → const int
- DEFAULT_MAX_WIDTH is the default maximum width used within a sercset width-range. While width values can be above this value, they are typically less than or equal to this value. This is only a default value used internally in the TargetWidths function.
- DEFAULT_MIN_WIDTH → const int
- DEFAULT_MIN_WIDTH is the default minimum width used within a srcset width-range. Widths can be below this value; this is just the default value used internally in the TargetWidths function.
-
DEFAULT_WIDTHS
→ const Set<
int> - DEFAULT_WIDTHS is an array of image widths generated by calling TargetWidths(100, 8192, 0.08). These defaults are quite good, cover a wide range of widths, and are easy to start with.
- DOMAIN_REGEX → const String
-
DPR_QUALITIES
→ const Map<
int, int> - IMGIX_LIB_VERSION → const String
-
metaParams
→ const Map<
String, String> - SRCSET_DEFAULT_TOLERANCE → const double
- SRCSET_DEFAULT_TOLERANCE is the default width tolerance (percentage).