build static method

ThemeData build(
  1. Palette palette, {
  2. BrandTypo? typography,
})

Applies color palette and typography to generate a complete theme

palette - The color palette for theme generation typography - Optional typography configuration Returns a complete ThemeData instance

Implementation

static ThemeData build(Palette palette, {BrandTypo? typography}) {
  return _makeTheme(palette, typography: typography);
}