saveContext method

  1. @override
WidgetContext saveContext()
override

Get unmodified mutable context object

Implementation

@override
WidgetContext saveContext() {
  var index = 0;
  for (final child in children) {
    if (child.canSpan) {
      _context.partitionContext[index] = child.saveContext();
    }
    index++;
  }
  return _context;
}