Whisk together the flour, sugar, baking powder, baking soda, and salt in a bowl. Transfer to a stand mixer fitted with a paddle attachment. Add the cubes of butter, and mix slowly until the butter is evenly distributed in small chunks throughout the dry mixture.