SecondaryNomoButtonThemeData.from constructor

SecondaryNomoButtonThemeData.from(
  1. SecondaryNomoButtonColorData colors,
  2. SecondaryNomoButtonSizingData sizing,
  3. SecondaryNomoButtonConstants constants
)

Implementation

factory SecondaryNomoButtonThemeData.from(
  SecondaryNomoButtonColorData colors,
  SecondaryNomoButtonSizingData sizing,
  SecondaryNomoButtonConstants constants,
) {
  return SecondaryNomoButtonThemeData(
    backgroundColor: colors.backgroundColor,
    foregroundColor: colors.foregroundColor,
    elevation: colors.elevation,
    selectionColor: colors.selectionColor,
    border: colors.border,
    borderRadius: colors.borderRadius,
    padding: sizing.padding,
  );
}