To make this Creamed Corn Casserole gluten-free, replace the all-purpose flour with an equal amount of gluten-free all-purpose flour blend or cornstarch. Ensure all other ingredients, particularly the cheese and any pre-packaged corn, are certified gluten-free.