SnapAlignment.static constructor
SnapAlignment.static([
- double alignment = 0.5
Creates a static non-changing snap point at given position.
Implementation
SnapAlignment.static([double alignment = 0.5])
: _parameters = ((item) => alignment);