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

enableVariableQuality bool
final
hashCode int
The hash code for this object.
no setterinherited
maxWidth int
final
minWidth int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tolerance double
final

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