primaryButtonTheme method

  1. @override
ShadButtonTheme primaryButtonTheme()
override

Implementation

@override
ShadButtonTheme primaryButtonTheme() {
  return ShadButtonTheme(
    backgroundColor: colorScheme.primary,
    hoverBackgroundColor: colorScheme.primary.withValues(alpha: .9),
    foregroundColor: colorScheme.primaryForeground,
    hoverForegroundColor: colorScheme.primaryForeground,
    decoration: ShadDecoration(
      border: ShadBorder.all(radius: radius, width: 0),
    ),
    gap: 8,
    expands: false,
  );
}