DynamicWidgetContainer constructor
const
DynamicWidgetContainer({
- Key? key,
- Map<
String, dynamic> ? responseJson, - List<
WidgetEntry> ? entries, - ColorScheme? colorScheme,
- OnWidgetDismiss? onDismiss,
- OnWidgetAction? onAction,
- String? userId,
- WidgetService? analyticsService,
- double spacing = 8,
- EdgeInsetsGeometry padding = const EdgeInsets.all(16),
- bool scrollable = true,
Implementation
const DynamicWidgetContainer({
super.key,
this.responseJson,
this.entries,
this.colorScheme,
this.onDismiss,
this.onAction,
this.userId,
this.analyticsService,
this.spacing = 8,
this.padding = const EdgeInsets.all(16),
this.scrollable = true,
}) : assert(
responseJson != null || entries != null,
'Either responseJson or entries must be provided',
);