copyWithChainedContext method

RenderPayload copyWithChainedContext(
  1. ScopeContext scopeContext, {
  2. BuildContext? buildContext,
})

Implementation

RenderPayload copyWithChainedContext(
  ScopeContext scopeContext, {
  BuildContext? buildContext,
}) {
  return copyWith(
    buildContext: buildContext ?? this.buildContext,
    scopeContext: _chainExprContext(scopeContext),
  );
}