Stephen McGinn has announced his retirement from professional football after capping off a 18-year senior career by leading the Bairns to a historic invincible League One title success.