createHeaderWithActionsCard static method
DynamicCardConfig
createHeaderWithActionsCard({
- required String title,
- required List<
CardAction> actions, - required List<
CardContentItem> content, - TextStyle? titleStyle,
- double elevation = 1.0,
- Color backgroundColor = Colors.white,
- EdgeInsets? padding,
- EdgeInsets? margin,
Creates a card with actions in the header
Implementation
static DynamicCardConfig createHeaderWithActionsCard({
required String title,
required List<CardAction> actions,
required List<CardContentItem> content,
TextStyle? titleStyle,
double elevation = 1.0,
Color backgroundColor = Colors.white,
EdgeInsets? padding,
EdgeInsets? margin,
}) {
return DynamicCardConfig(
title: title,
titleStyle: titleStyle,
actions: actions,
content: content,
elevation: elevation,
backgroundColor: backgroundColor,
padding: padding,
margin: margin,
layout: CardLayout.headerWithActions,
);
}