mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
hides air quality tab.
This commit is contained in:
@ -41,15 +41,19 @@ class AnalyticsPageTabsAndChildren extends StatelessWidget {
|
|||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
...AnalyticsPageTab.values.map(
|
...AnalyticsPageTab.values
|
||||||
(tab) => _buildAnimation(
|
.where(
|
||||||
child: AnalyticsPageTabButton(
|
(tab) => tab != AnalyticsPageTab.airQuality,
|
||||||
key: ValueKey(selectedTab),
|
)
|
||||||
tab: tab,
|
.map(
|
||||||
isSelected: tab == selectedTab,
|
(tab) => _buildAnimation(
|
||||||
|
child: AnalyticsPageTabButton(
|
||||||
|
key: ValueKey(selectedTab),
|
||||||
|
tab: tab,
|
||||||
|
isSelected: tab == selectedTab,
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user