Listview animation

Is there any way to get card type and color on side of listview like in the picture if yes share blocks or procedure

Watch this video by deep host