NomoTextButtonThemeData.from constructor

NomoTextButtonThemeData.from(
  1. NomoTextButtonColorData colors,
  2. NomoTextButtonSizingData sizing,
  3. NomoTextButtonConstants constants
)

Implementation

factory NomoTextButtonThemeData.from(
  NomoTextButtonColorData colors,
  NomoTextButtonSizingData sizing,
  NomoTextButtonConstants constants,
) {
  return NomoTextButtonThemeData(
    foregroundColor: colors.foregroundColor,
    borderRadius: colors.borderRadius,
    padding: sizing.padding,
  );
}