context property

  1. @override
Path? get context

Optional context for rendering the generated link (see Link.call) as a sequence of path method calls.

final context = …;
final link = Link(…)..context = context;

link.context; // context

Defaults to null, which means the generated link is returned as a path data string.

Implementation

@override
get context;
set context (Path? context)
inherited

Implementation

set context(Path? context) {
  context == null
      ? _context = _output = null
      : _output = _curve(_context = context);
}