ContentDialogThemeData.standard constructor
ContentDialogThemeData.standard(
- FluentThemeData theme
Implementation
factory ContentDialogThemeData.standard(FluentThemeData theme) {
return ContentDialogThemeData(
decoration: BoxDecoration(
color: theme.menuColor,
borderRadius: BorderRadius.circular(12),
boxShadow: kElevationToShadow[6],
),
padding: const EdgeInsets.all(20),
titlePadding: const EdgeInsetsDirectional.only(bottom: 12),
actionsSpacing: 10,
actionsDecoration: BoxDecoration(
color: theme.micaBackgroundColor,
borderRadius: const BorderRadius.vertical(bottom: Radius.circular(12)),
// boxShadow: kElevationToShadow[1],
),
actionsPadding: const EdgeInsets.all(20),
barrierColor: Colors.grey[200].withOpacity(0.8),
titleStyle: theme.typography.title,
bodyStyle: theme.typography.body,
);
}