NomoDialogThemeData.from constructor

NomoDialogThemeData.from(
  1. NomoDialogColorData colors,
  2. NomoDialogSizingData sizing,
  3. NomoDialogConstants constants
)

Implementation

factory NomoDialogThemeData.from(
  NomoDialogColorData colors,
  NomoDialogSizingData sizing,
  NomoDialogConstants constants,
) {
  return NomoDialogThemeData(
    backgroundColor: colors.backgroundColor,
    elevation: sizing.elevation,
    contentSpacing: sizing.contentSpacing,
    widthRatio: sizing.widthRatio,
    margin: sizing.margin,
    padding: sizing.padding,
    borderRadius: sizing.borderRadius,
  );
}