mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-15 09:45:25 +00:00
Removed unnecessary widgets.
This commit is contained in:
@ -19,7 +19,6 @@ class AnalyticsPageTabsAndChildren extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Container(
|
child: Container(
|
||||||
width: MediaQuery.sizeOf(context).width * 1,
|
|
||||||
decoration: subSectionContainerDecoration,
|
decoration: subSectionContainerDecoration,
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 32),
|
padding: const EdgeInsets.symmetric(horizontal: 32),
|
||||||
child: Row(
|
child: Row(
|
||||||
@ -68,13 +67,10 @@ class AnalyticsPageTabsAndChildren extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 8,
|
flex: 8,
|
||||||
child: SizedBox(
|
child: AnimatedSwitcher(
|
||||||
width: MediaQuery.sizeOf(context).width,
|
switchInCurve: Curves.easeIn,
|
||||||
child: AnimatedSwitcher(
|
duration: const Duration(milliseconds: 200),
|
||||||
switchInCurve: Curves.easeIn,
|
child: selectedTab.child,
|
||||||
duration: const Duration(milliseconds: 200),
|
|
||||||
child: selectedTab.child,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user