Pokemon Sword: Guide for Defeating the Gym Leaders

I recently got Pokemon Sword, so I thought I would do a little guide on the eight gyms that you have to go through during the course of the game. The gyms are different then previous games as instead of facing off against trainers in order to get to the leader, you have to complete various missions occasionally fighting a trainer before facing the leader. This game also features a function called Dynamaxing which all but one gym uses. This is a process that makes your Pokemon giant, your attacks stronger and a little health boost. However, it only lasts a few rounds and can only be used once. Every leader that uses this ability saves it for the final Pokemon in the battle.