Barcelona manager Hansi Flick has agreed a contract extension until 2028 after guiding the Catalan giants to their 29th La Liga title.