Hi - I figured out the reason behind this. I was able to turn on the flow from the default solution.
I got that error because the solution from which I'm trying to turn it on was a managed solution. So, we need to go to an unmanaged solution and edit the flow as per our wish. If we observe closely, we can see some tiny lock symbol under managed column in my attached error snip in this post.