您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
27 行
580 B
27 行
580 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using Unity.UIWidgets.foundation;
|
|
|
|
namespace UIWidgetsSample
|
|
{
|
|
public class PreviewImage : Equatable {
|
|
/// Creates a preview image.
|
|
public PreviewImage(
|
|
string id,
|
|
string uri)
|
|
{
|
|
this.id = id;
|
|
this.uri = uri;
|
|
}
|
|
|
|
|
|
public override List<object> props => new List<object>{id, uri};
|
|
|
|
/// Unique ID of the image
|
|
public readonly string id;
|
|
|
|
/// Image's URI
|
|
public readonly string uri;
|
|
}
|
|
}
|