I would suspect 4x2 for walls is plenty. as for the base it depends on the span the joists are running.
Just google floor joist span table and you’ll see it all.
I’ve just used 5x2 floor joist at 2.5 m span for a 5x4 building.
There’s a little flexi but nothing major.
Although I would use 6x2...