Check with the aircraft manufacturer. Some aircraft a flaps-up selection is recommended to prevent de-icing fluid washing out the flap track grease etc. Others require flaps down to provide an anti-icing coating for the hold-over time; if not then alternative taxi checklist procedures may be required where flaps-out selection should be delayed until just before take-off; don’t forget, either way there are hazards.