Inside can function by itself as a preposition; of is unnecessary.
The switch is just inside of the door.
Inside of meaning "in less time than" is colloquial and should be avoided in formal writing.
They were finished inside of an hour.
OR
They were finished within an hour.