get sdk version flutter code example Example 1: update flutter flutter upgrade Example 2: flutter change beta fo stabel $ flutter channel