transform constant
The gradient's transform: [a, b, tx, c, d, ty] maps a point (x, y)
of the box, in its unit square (0..1 each way), to the gradient's
unit square: u = a·x + b·y + tx, v = c·x + d·y + ty.
Implementation
static const transform = PropDef<List<double>?>(
'transform',
ValueCodec(_doublesIn, _same, PropType.list(PropType.number())),
null,
doc: 'Six numbers `[a, b, tx, c, d, ty]` mapping a point (x, y) of the box, in its unit square (0 to 1 each way), into the '
'gradient\'s unit square: u = a·x + b·y + tx, v = c·x + d·y + ty. A linear gradient runs along u from 0 to 1; '
'`[20, 0, 0, 0, 1, 0]` with `"tileMode": "repeated"` repeats it 20 times across the box. '
'Simpler: `begin`/`end` (linear) or `center`/`radius` (radial).',
);