Motivated by electrodynamics we discuss a derivation of the Stokes theorem which is based on the variations of the fluxes and line integrals of vector fields. We show how this procedure can be ...