position property
PositionUnit
get
position
Converts an int value to a fixed PositionUnit.
Creates a position unit with an absolute pixel value. This is useful for positioning elements at fixed offsets from container edges.
Implementation
PositionUnit get position => PositionUnit.fixed(toDouble());