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 FProgressStyle progressStyle,
- required FRadioStyle radioStyle,
- required FResizableStyle resizableStyle,
- required FTabsStyle tabsStyle,
- required FTextFieldStyle textFieldStyle,
- required FTooltipStyle tooltipStyle,
- required FScaffoldStyle scaffoldStyle,
- required FSelectGroupStyle selectGroupStyle,
- required FSliderStyles sliderStyles,
- required FSwitchStyle switchStyle,
- 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.progressStyle,
required this.radioStyle,
required this.resizableStyle,
required this.tabsStyle,
required this.textFieldStyle,
required this.tooltipStyle,
required this.scaffoldStyle,
required this.selectGroupStyle,
required this.sliderStyles,
required this.switchStyle,
this.typography = const FTypography(),
});