ThemingConfig constructor

ThemingConfig({
  1. required String primaryColor,
  2. required String secondaryColor,
  3. required String fontFamily,
})

Creates a ThemingConfig instance.

All parameters are required:

  • primaryColor: The primary color of the theme (e.g., "#FF0000" for red).
  • secondaryColor: The secondary color of the theme (e.g., "#00FF00" for green).
  • fontFamily: The font family to use (e.g., "Roboto", "Arial").

Implementation

ThemingConfig({
  required this.primaryColor,
  required this.secondaryColor,
  required this.fontFamily,
});