context property

  1. @override
Path? get context

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

final context = …;
final line = Line(…)..context = context;

line.context; // context

Defaults to null, which means the generated line 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);
}