FThemeData constructor

FThemeData({
  1. required FColorScheme colorScheme,
  2. required FStyle style,
  3. required FAccordionStyle accordionStyle,
  4. required FAlertStyles alertStyles,
  5. required FAvatarStyle avatarStyle,
  6. required FBadgeStyles badgeStyles,
  7. required FBottomNavigationBarStyle bottomNavigationBarStyle,
  8. required FButtonStyles buttonStyles,
  9. required FCalendarStyle calendarStyle,
  10. required FCardStyle cardStyle,
  11. required FCheckboxStyle checkboxStyle,
  12. required FDialogStyle dialogStyle,
  13. required FDividerStyles dividerStyles,
  14. required FHeaderStyles headerStyle,
  15. required FLabelStyles labelStyles,
  16. required FLineCalendarStyle lineCalendarStyle,
  17. required FPopoverStyle popoverStyle,
  18. required FPopoverMenuStyle popoverMenuStyle,
  19. required FProgressStyle progressStyle,
  20. required FRadioStyle radioStyle,
  21. required FResizableStyle resizableStyle,
  22. required FScaffoldStyle scaffoldStyle,
  23. required FSelectGroupStyle selectGroupStyle,
  24. required FSelectMenuTileStyle selectMenuTileStyle,
  25. required FSheetStyle sheetStyle,
  26. required FSliderStyles sliderStyles,
  27. required FSwitchStyle switchStyle,
  28. required FTabsStyle tabsStyle,
  29. required FTextFieldStyle textFieldStyle,
  30. required FTooltipStyle tooltipStyle,
  31. required FTileGroupStyle tileGroupStyle,
  32. String? debugLabel,
  33. FBreakpoints breakpoints = const FBreakpoints(),
  34. FTypography typography = const FTypography(),
})

Creates a FThemeData.

Note: Unless you are creating a completely new theme, modifying FThemes' predefined themes is preferred. FThemeData.inherit can also be used as a simpler way to create a FThemeData without manually specifying the widget styles.

Implementation

FThemeData({
  required this.colorScheme,
  required this.style,
  required this.accordionStyle,
  required this.alertStyles,
  required this.avatarStyle,
  required this.badgeStyles,
  required this.bottomNavigationBarStyle,
  required this.buttonStyles,
  required this.calendarStyle,
  required this.cardStyle,
  required this.checkboxStyle,
  required this.dialogStyle,
  required this.dividerStyles,
  required this.headerStyle,
  required this.labelStyles,
  required this.lineCalendarStyle,
  required this.popoverStyle,
  required this.popoverMenuStyle,
  required this.progressStyle,
  required this.radioStyle,
  required this.resizableStyle,
  required this.scaffoldStyle,
  required this.selectGroupStyle,
  required this.selectMenuTileStyle,
  required this.sheetStyle,
  required this.sliderStyles,
  required this.switchStyle,
  required this.tabsStyle,
  required this.textFieldStyle,
  required this.tooltipStyle,
  required this.tileGroupStyle,
  this.debugLabel,
  this.breakpoints = const FBreakpoints(),
  this.typography = const FTypography(),
});