I have 2 classes: a camera class and a bottom bar class. I would like the camera button to overlap the bottom bar. (see example).
The problem is that these are 2 different classes. So an option would be:
Stack(children: [
CameraClass(),
BottomBarClass(),
CameraButton(),
],);
But the camera button uses a lot of class variables and member functions (for animation etc), so this wouldn't be an efficient option & good practice for clean code.
Is there a different option?
Thanks

