PrimaryNomoButtonThemeData.from constructor

PrimaryNomoButtonThemeData.from(
  1. PrimaryNomoButtonColorData colors,
  2. PrimaryNomoButtonSizingData sizing,
  3. PrimaryNomoButtonConstants constants
)

Implementation

factory PrimaryNomoButtonThemeData.from(
  PrimaryNomoButtonColorData colors,
  PrimaryNomoButtonSizingData sizing,
  PrimaryNomoButtonConstants constants,
) {
  return PrimaryNomoButtonThemeData(
    backgroundColor: colors.backgroundColor,
    foregroundColor: colors.foregroundColor,
    elevation: colors.elevation,
    borderRadius: colors.borderRadius,
    padding: sizing.padding,
  );
}