maximize method
Maximizes the view.
Implementation
void maximize() {
if (isMobile) {
minimizedAnimation?.reverse(from: minimizedAnimation?.value);
if (panelController.isAttached) {
panelController.close();
}
} else {
minimized.value = false;
}
}