ScaleType enum Null safety

ScaleType 可选类型

Inheritance

Constructors

ScaleType()
const

Values

matrix → const ScaleType
const ScaleType(0)
fitXy → const ScaleType
const ScaleType(1)
fitStart → const ScaleType
const ScaleType(2)
fitCenter → const ScaleType
const ScaleType(3)
fitEnd → const ScaleType
const ScaleType(4)
center → const ScaleType
const ScaleType(5)
centerCrop → const ScaleType
const ScaleType(6)
centerInside → const ScaleType
const ScaleType(7)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ScaleType>
A constant List of the values in this enum, in order of their declaration.
[matrix, fitXy, fitStart, fitCenter, fitEnd, center, centerCrop, centerInside]