Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create widgets that render presentations
class MyOutlet extends StatelessWidget { @override Widget build(BuildContext context) { return PresentumOutlet<CampaignItem, AppSurface, CampaignVariant>( surface: AppSurface.homeTopBanner, builder: (context, item) { return BannerWidget( title: item.metadata['title'] as String, onClose: () => context .presentum<CampaignItem, AppSurface, CampaignVariant>() .markDismissed(item), ); }, ); } }
Was this page helpful?