setFundamentalThemeData method

void setFundamentalThemeData({
  1. ThemeData? themeLight,
  2. ThemeData? themeDark,
})

Most apps should use setFlutterFundamentals, but this method gives you more control to create the theme data exactly as you wish.

Implementation

void setFundamentalThemeData({
  ThemeData? themeLight,
  ThemeData? themeDark
}) {
  this.themeLight = themeLight;
  this.themeDark = themeDark;
}