You can obtain or purchase Flagship blueprints from the following:

1. Wanted Poster 

2. Trade Shop

3. Alien Fleet Loot


You might want to check this link:

Item Location