SpriteBatch constructor

SpriteBatch(
  1. Image atlas, {
  2. Color defaultColor = const Color(0x00000000),
  3. BlendMode defaultBlendMode = BlendMode.srcOver,
  4. RSTransform? defaultTransform,
})

Implementation

SpriteBatch(
  this.atlas, {
  this.defaultColor = const Color(0x00000000),
  this.defaultBlendMode = BlendMode.srcOver,
  this.defaultTransform,
});