setBackgroundImage method

  1. @JSExport()
JSPromise<JSAny?> setBackgroundImage(
  1. String path, {
  2. bool fillHeight = false,
})

Implementation

@JSExport()
JSPromise setBackgroundImage(String path, {bool fillHeight = false}) =>
    viewer.setBackgroundImage(path, fillHeight: fillHeight).toJS;