FDialogStyle.inherit constructor
FDialogStyle.inherit({
- required FStyle style,
- required FColorScheme colorScheme,
- required FTypography typography,
Creates a FDialogStyle that inherits its properties from the given style
, colorScheme
, and typography
.
Implementation
FDialogStyle.inherit({
required FStyle style,
required FColorScheme colorScheme,
required FTypography typography,
}) : this(
decoration: BoxDecoration(
borderRadius: style.borderRadius,
color: colorScheme.background,
),
horizontalStyle: FDialogContentStyle.inherit(
colorScheme: colorScheme,
typography: typography,
padding: const EdgeInsets.symmetric(horizontal: 25, vertical: 25),
actionPadding: 7,
),
verticalStyle: FDialogContentStyle.inherit(
colorScheme: colorScheme,
typography: typography,
padding: const EdgeInsets.symmetric(horizontal: 30, vertical: 25),
actionPadding: 8,
),
);