ComponentThemeButtonStyle<T extends ButtonTheme> constructor

const ComponentThemeButtonStyle<T extends ButtonTheme>({
  1. required AbstractButtonStyle fallback,
})

Creates a ComponentThemeButtonStyle with the specified fallback style.

Parameters:

  • fallback (required): The default style used when theme override is not available.

Implementation

const ComponentThemeButtonStyle({required this.fallback});