It looks like Flutter wants you to move the value "0" that you are using in your code to a member variable, and reference it using the member variable you created. The compiler is trying to prevent you from hard-coding numeric values.