NomoInputThemeData.from constructor
NomoInputThemeData.from(
- NomoInputColorData colors,
- NomoInputSizingData sizing,
- NomoInputConstants constants
Implementation
factory NomoInputThemeData.from(
NomoInputColorData colors,
NomoInputSizingData sizing,
NomoInputConstants constants,
) {
return NomoInputThemeData(
background: colors.background,
errorColor: colors.errorColor,
borderRadius: colors.borderRadius,
border: colors.border,
selectedBorder: colors.selectedBorder,
errorBorder: colors.errorBorder,
selectedErrorBorder: colors.selectedErrorBorder,
margin: colors.margin,
padding: sizing.padding,
duration: constants.duration,
curve: constants.curve,
titleSpacing: constants.titleSpacing,
);
}