image method

void image(
  1. Image imgSrc, {
  2. PosAlign align = PosAlign.center,
})

Implementation

void image(Image imgSrc, {PosAlign align = PosAlign.center}) {
  _socket.add(_generator.image(imgSrc, align: align));
}