Picture.asset constructor

Picture.asset(
  1. String? path
)

Define a new Picture with a reference to a local asset file. path is the file path of the target file.

Implementation

Picture.asset(this.path)
    : data = null,
      src = null;