removed the template-if and kept the logic in the dart code.
CardWidget -> CardComponent
Removed dependency on paper-elements since it's not used.