NomoLinkButtonThemeData.from constructor

NomoLinkButtonThemeData.from(
  1. NomoLinkButtonColorData colors,
  2. NomoLinkButtonSizingData sizing,
  3. NomoLinkButtonConstants constants
)

Implementation

factory NomoLinkButtonThemeData.from(
  NomoLinkButtonColorData colors,
  NomoLinkButtonSizingData sizing,
  NomoLinkButtonConstants constants,
) {
  return NomoLinkButtonThemeData(
    foregroundColor: colors.foregroundColor,
    tapDownColor: colors.tapDownColor,
    padding: sizing.padding,
    selectionColor: sizing.selectionColor,
  );
}