SrcsetOption class
Constructors
- SrcsetOption({int minWidth = constants.DEFAULT_MIN_WIDTH, int maxWidth = constants.DEFAULT_MAX_WIDTH, double tolerance = constants.SRCSET_DEFAULT_TOLERANCE, bool enableVariableQuality = false})
- SrcsetOption.base()
-
const
Properties
Methods
-
generateTargetWidths(
) → List< int> - generateTargetWidths creates an array of integer image widths. The image widths begin at the minWidth value and end at the maxWidth value––with a defaultTolerance amount of tolerable image width-variance between them.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited