LuckyCanvasCompatResult<C> class
final
带诊断的迁移结果;警告列表须由调用方保持不可变。
- Annotations
Constructors
-
LuckyCanvasCompatResult({required C config, double? width, double? height, List<
LuckyCanvasCompatWarning> warnings = const []}) -
创建结果;
width和height缺省时由父布局决定尺寸。const
Properties
Methods
-
copyWith(
{C? config, double? width, double? height, List< LuckyCanvasCompatWarning> ? warnings}) → LuckyCanvasCompatResult<C> - 返回替换非 null 参数的结果副本。
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
比较配置、尺寸和警告内容。
override