$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'backgroundColor':
return $value.backgroundColor == null
? const $null()
: $Color.wrap($value.backgroundColor!);
case 'minHeight':
return $value.minHeight == null
? const $null()
: $double($value.minHeight!);
case 'borderRadius':
return $value.borderRadius == null
? const $null()
: $BorderRadiusGeometry.wrap($value.borderRadius!);
case 'stopIndicatorColor':
return $value.stopIndicatorColor == null
? const $null()
: $Color.wrap($value.stopIndicatorColor!);
case 'stopIndicatorRadius':
return $value.stopIndicatorRadius == null
? const $null()
: $double($value.stopIndicatorRadius!);
case 'trackGap':
return $value.trackGap == null
? const $null()
: $double($value.trackGap!);
case 'year2023':
return $value.year2023 == null
? const $null()
: $bool($value.year2023!);
case 'controller':
return $value.controller == null
? const $null()
: $AnimationController.wrap($value.controller!);
case 'createState':
return __createState;
}
throw UnimplementedError(
'property $identifier not generated for LinearProgressIndicator');
}