ColorBlendEquation constructor

ColorBlendEquation({
  1. BlendOperation colorBlendOperation = BlendOperation.add,
  2. BlendFactor sourceColorBlendFactor = BlendFactor.one,
  3. BlendFactor destinationColorBlendFactor = BlendFactor.oneMinusSourceAlpha,
  4. BlendOperation alphaBlendOperation = BlendOperation.add,
  5. BlendFactor sourceAlphaBlendFactor = BlendFactor.one,
  6. BlendFactor destinationAlphaBlendFactor = BlendFactor.oneMinusSourceAlpha,
})

Implementation

ColorBlendEquation({
  this.colorBlendOperation = BlendOperation.add,
  this.sourceColorBlendFactor = BlendFactor.one,
  this.destinationColorBlendFactor = BlendFactor.oneMinusSourceAlpha,
  this.alphaBlendOperation = BlendOperation.add,
  this.sourceAlphaBlendFactor = BlendFactor.one,
  this.destinationAlphaBlendFactor = BlendFactor.oneMinusSourceAlpha,
});