$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'left':
return $value.left == null ? const $null() : $double($value.left!);
case 'top':
return $value.top == null ? const $null() : $double($value.top!);
case 'right':
return $value.right == null ? const $null() : $double($value.right!);
case 'bottom':
return $value.bottom == null ? const $null() : $double($value.bottom!);
case 'width':
return $value.width == null ? const $null() : $double($value.width!);
case 'height':
return $value.height == null ? const $null() : $double($value.height!);
case 'applyParentData':
return __applyParentData;
case 'debugFillProperties':
return __debugFillProperties;
}
throw UnimplementedError(
'property $identifier not generated for Positioned');
}