update flutter to 1.22.5 in ubuntu code example Example 1: update flutter flutter upgrade Example 2: flutter update $ flutter channel