$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'alignment':
return $Alignment.wrap($value.alignment);
case 'textStyle':
final _textStyle = $value.textStyle;
return _textStyle == null ? const $null() : $TextStyle.wrap(_textStyle);
case 'lineColor':
return $Color.wrap($value.lineColor);
case 'strokeWidth':
return $double($value.strokeWidth);
case 'lineHeight':
return $double($value.lineHeight);
case 'padding':
return $EdgeInsets.wrap($value.padding);
case 'length':
return runtime.wrapAlways($value.length);
case 'build':
return __build;
}
return _superclass.$getProperty(runtime, identifier);
}