Connect an app with tv via wifi

Hi! Yesterday I found an app, it is called CardCast. It is game played on mobile phone and it is played on tv. Any idea on how is made and if it is possible with flutter?