$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 'strokeWidth':
return $value.strokeWidth == null
? const $null()
: $double($value.strokeWidth!);
case 'strokeAlign':
return $value.strokeAlign == null
? const $null()
: $double($value.strokeAlign!);
case 'constraints':
return $value.constraints == null
? const $null()
: $BoxConstraints.wrap($value.constraints!);
case 'trackGap':
return $value.trackGap == null
? const $null()
: $double($value.trackGap!);
case 'year2023':
return $value.year2023 == null
? const $null()
: $bool($value.year2023!);
case 'padding':
return $value.padding == null
? const $null()
: $EdgeInsetsGeometry.wrap($value.padding!);
case 'controller':
return $value.controller == null
? const $null()
: $AnimationController.wrap($value.controller!);
case 'createState':
return __createState;
}
throw UnimplementedError(
'property $identifier not generated for CircularProgressIndicator');
}