ShaderDetails constructor

ShaderDetails(
  1. Rect rect,
  2. String renderType
)

Creating an argument constructor of ShaderDetails class.

Implementation

ShaderDetails(
  this.rect,
  this.renderType,
);