NomoNotificationThemeData.from constructor

NomoNotificationThemeData.from(
  1. NomoNotificationColorData colors,
  2. NomoNotificationSizingData sizing,
  3. NomoNotificationConstants constants
)

Implementation

factory NomoNotificationThemeData.from(
  NomoNotificationColorData colors,
  NomoNotificationSizingData sizing,
  NomoNotificationConstants constants,
) {
  return NomoNotificationThemeData(
    backgroundColor: colors.backgroundColor,
    foregroundColor: colors.foregroundColor,
    padding: sizing.padding,
    borderRadius: sizing.borderRadius,
    spacing: sizing.spacing,
    maxWidth: sizing.maxWidth,
  );
}