setContext method

void setContext(
  1. BuildContext context
)

保存material上下文

Implementation

void setContext(BuildContext context) {
  this._context = context;
}