ContentDialogThemeData.standard constructor
ContentDialogThemeData.standard(
- ThemeData style
Implementation
factory ContentDialogThemeData.standard(ThemeData style) {
return ContentDialogThemeData(
decoration: BoxDecoration(
color: style.scaffoldBackgroundColor,
border: Border.all(color: style.disabledColor, width: 1.2),
),
padding: EdgeInsets.all(20),
titlePadding: EdgeInsets.only(bottom: 12),
bodyPadding: EdgeInsets.only(bottom: 30),
actionsSpacing: 3,
barrierColor: Colors.grey[200].withOpacity(0.8),
titleStyle: style.typography.title,
bodyStyle: style.typography.body,
elevation: 8,
elevationColor: Colors.black,
);
}