identity constant
Scalar
const identity
A static Scalar
with both horizontal
and vertical
properties equal to 1.0
.
Implementation
static const identity = Scalar(horizontal: 1.0, vertical: 1.0);