campaigns_explore_page top-level property
read / write
Implementation
ExplorePageArguments campaigns_explore_page =
ExplorePageArguments(title: "Campaigns", sections: [
ExploreSectionArguments(
title: "Campaigns of the month",
baseParams: {
"of_the_month": true,
},
type: ExploreSectionType.Campaign),
ExploreSectionArguments(
title: "Recommended campaigns",
baseParams: {
"recommended": true,
},
type: ExploreSectionType.Campaign),
ExploreSectionArguments(
title: "Campaigns by cause",
filter: ByCauseExploreFilter(),
type: ExploreSectionType.Campaign,
),
ExploreSectionArguments(
title: "Completed campaigns",
baseParams: {
"completed": true,
},
backgroundColor: CustomColors.lightOrange,
type: ExploreSectionType.Campaign,
),
]);