did I cheat??

I dont know if i cheated or not.

A little while ago i was in contact with my ex and we were friends before and during my relationship with my boyfriend.

I would say i love you to my ex as I do with the rest of my close friends and my boyfriend saw and freaked out and said i was cheating.

I didn't see it as cheating because i saw it as talking to my friend but the more my boyfriend brings it up the more conflicted i get about if I actually cheated.

I don't talk to my ex any more and I'm still with my boyfriend.

And so i guess i just want others opinions.

Do you guys count what I did as cheating?