ResourceImage constructor

const ResourceImage(
  1. String drawablePath, {
  2. double scale = 1.0,
  3. AwesomeNotifications? awesomeNotifications,
})

Creates an object that decodes a Uint8List buffer as an image.

The arguments must not be null.

Implementation

const ResourceImage(this.drawablePath,
    {this.scale = 1.0, AwesomeNotifications? awesomeNotifications})
    : _awesomeNotifications = awesomeNotifications;