ThemePreview constructor

const ThemePreview({
  1. Key? key,
  2. required ThemeBase theme,
})

Renders a preview of a ThemeBase and sets it as the user's theme when tapped.

Implementation

const ThemePreview({super.key, required this.theme});