GetFileIconOptions constructor

GetFileIconOptions({
  1. int? size,
})

Implementation

GetFileIconOptions(
    {
    /// The size of the returned icon in density-independent pixels (DIPs). Must
    /// be either 16 or 32 (defaults to 32). On high-DPI displays, the returned
    /// image scales with the device scale factor (e.g., 64x64 px for size 32 on
    /// a
    /// 2x display). Calls from background service workers default to 1x scale.
    int? size})
    : _wrapped = $js.GetFileIconOptions(size: size);