Theory of Flux Motion in Non-Ideal Type-II Superconductors