They are synonyms. They both mean that it is possible something will catch fire.
- My sofa is flammable. I must buy a new one.
- My sofa is inflammable. I must buy a new one.
The antonym is non-flammable. It means that it won’t catch fire.
- My sofa is non-flammable, so it is safe.