FDialogContentStyle.inherit constructor
FDialogContentStyle.inherit({
- required FColorScheme colorScheme,
- required FTypography typography,
- required EdgeInsets padding,
- required double actionPadding,
Creates a FDialogContentStyle that inherits its properties from colorScheme
and typography
.
Implementation
FDialogContentStyle.inherit({
required FColorScheme colorScheme,
required FTypography typography,
required this.padding,
required this.actionPadding,
}) : titleTextStyle = typography.lg.copyWith(
fontWeight: FontWeight.w600,
color: colorScheme.foreground,
),
bodyTextStyle = typography.sm.copyWith(color: colorScheme.mutedForeground);