updateRenderObject method
Updates the renderObject to reflect the current widget configuration.
Implementation
@override
void updateRenderObject(BuildContext context, RenderObject renderObject) {
final card = renderObject as RenderCard;
card.color = color;
card.padding = padding;
}