NomoCardThemeData.from constructor
NomoCardThemeData.from(
- NomoCardColorData colors,
- NomoCardSizingData sizing,
- NomoCardConstants constants
Implementation
factory NomoCardThemeData.from(
NomoCardColorData colors,
NomoCardSizingData sizing,
NomoCardConstants constants,
) {
return NomoCardThemeData(
shadowColor: colors.shadowColor,
border: colors.border,
backgroundColor: colors.backgroundColor,
elevation: sizing.elevation,
offset: sizing.offset,
borderRadius: sizing.borderRadius,
padding: sizing.padding,
margin: sizing.margin,
);
}