Removed unnecessary widgets.

This commit is contained in:
Faris Armoush
2025-05-07 15:46:24 +03:00
parent 5e6c14efeb
commit 7f03222c12

View File

@ -19,7 +19,6 @@ class AnalyticsPageTabsAndChildren extends StatelessWidget {
children: [
Expanded(
child: Container(
width: MediaQuery.sizeOf(context).width * 1,
decoration: subSectionContainerDecoration,
padding: const EdgeInsets.symmetric(horizontal: 32),
child: Row(
@ -68,13 +67,10 @@ class AnalyticsPageTabsAndChildren extends StatelessWidget {
),
Expanded(
flex: 8,
child: SizedBox(
width: MediaQuery.sizeOf(context).width,
child: AnimatedSwitcher(
switchInCurve: Curves.easeIn,
duration: const Duration(milliseconds: 200),
child: selectedTab.child,
),
child: AnimatedSwitcher(
switchInCurve: Curves.easeIn,
duration: const Duration(milliseconds: 200),
child: selectedTab.child,
),
),
],