您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
29 行
789 B
29 行
789 B
using UIWidgets.foundation;
|
|
|
|
namespace UIWidgets.rendering {
|
|
public enum ScrollDirection {
|
|
idle,
|
|
forward,
|
|
reverse,
|
|
}
|
|
|
|
public abstract class ViewportOffset : ChangeNotifier {
|
|
protected ViewportOffset() {
|
|
}
|
|
|
|
public static ViewportOffset @fixed(double value) {
|
|
return null;
|
|
}
|
|
|
|
public static ViewportOffset zero() {
|
|
return null;
|
|
}
|
|
|
|
public abstract double pixels { get; }
|
|
public abstract bool applyViewportDimension(double viewportDimension);
|
|
public abstract bool applyContentDimensions(double minScrollExtent, double maxScrollExtent);
|
|
|
|
public abstract void correctBy(double correction);
|
|
public abstract void jumpTo(double pixels);
|
|
}
|
|
}
|