NomoSnackBarThemeData.from constructor
NomoSnackBarThemeData.from(
- NomoSnackBarColorData colors,
- NomoSnackBarSizingData sizing,
- NomoSnackBarConstants constants
Implementation
factory NomoSnackBarThemeData.from(
NomoSnackBarColorData colors,
NomoSnackBarSizingData sizing,
NomoSnackBarConstants constants,
) {
return NomoSnackBarThemeData(
backgroundColor: colors.backgroundColor,
foregroundColor: colors.foregroundColor,
elevation: colors.elevation,
border: colors.border,
height: sizing.height,
margin: sizing.margin,
spacing: sizing.spacing,
borderRadius: constants.borderRadius,
);
}