getPrimaryButtonStyle method

ButtonStyle getPrimaryButtonStyle()

Get button style based on theme with Comfortaa font

Implementation

ButtonStyle getPrimaryButtonStyle() {
  return ElevatedButton.styleFrom(
    backgroundColor: primaryColor ?? LokotroPayColors.primary,
    foregroundColor: LokotroPayColors.white,
    padding: const EdgeInsets.symmetric(horizontal: 24, vertical: 16),
    shape: RoundedRectangleBorder(
      borderRadius: BorderRadius.circular(borderRadius ?? 12.0),
    ),
    elevation: 2,
    textStyle: comfortaa(fontSize: 16, fontWeight: FontWeight.w600),
  );
}