FThemeData constructor
FThemeData({
- required FColorScheme colorScheme,
- required FStyle style,
- required FAccordionStyle accordionStyle,
- required FAlertStyles alertStyles,
- required FAvatarStyle avatarStyle,
- required FBadgeStyles badgeStyles,
- required FButtonStyles buttonStyles,
- required FCalendarStyle calendarStyle,
- required FCardStyle cardStyle,
- required FCheckboxStyle checkboxStyle,
- required FDialogStyle dialogStyle,
- required FDividerStyles dividerStyles,
- required FHeaderStyles headerStyle,
- required FLabelStyles labelStyles,
- required FPopoverStyle popoverStyle,
- required FPopoverMenuStyle popoverMenuStyle,
- required FProgressStyle progressStyle,
- required FRadioStyle radioStyle,
- required FResizableStyle resizableStyle,
- required FScaffoldStyle scaffoldStyle,
- required FSelectGroupStyle selectGroupStyle,
- required FSelectMenuTileStyle selectMenuTileStyle,
- required FSliderStyles sliderStyles,
- required FSwitchStyle switchStyle,
- required FTabsStyle tabsStyle,
- required FTextFieldStyle textFieldStyle,
- required FTooltipStyle tooltipStyle,
- required FTileGroupStyle tileGroupStyle,
- FBreakpoints breakpoints = const FBreakpoints(),
- 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.popoverStyle,
required this.popoverMenuStyle,
required this.progressStyle,
required this.radioStyle,
required this.resizableStyle,
required this.scaffoldStyle,
required this.selectGroupStyle,
required this.selectMenuTileStyle,
required this.sliderStyles,
required this.switchStyle,
required this.tabsStyle,
required this.textFieldStyle,
required this.tooltipStyle,
required this.tileGroupStyle,
this.breakpoints = const FBreakpoints(),
this.typography = const FTypography(),
});