x property

num Function(T, [List<Object?>?]) get x

Implementation

num Function(T, [List<Object?>?]) get x => _x;
set x (num x(T, [List<Object?>?]))

The x-accessor.

final link = Link.horizontal(…)..x = (d, [args]) => x(d["x"]);

link.x; // (d, [args]) => x(d["x"])

The x accessor defaults to:

x(d, [args]) {
  return d[0];
}

Implementation

set x(num Function(T, [List<Object?>?]) x) => _x = x;