TWidgetThemeExtension constructor
const
TWidgetThemeExtension({
- MaterialColor primary = AppColors.primary,
- MaterialColor secondary = AppColors.secondary,
- MaterialColor success = AppColors.success,
- MaterialColor warning = AppColors.warning,
- MaterialColor info = AppColors.info,
- MaterialColor danger = AppColors.danger,
- MaterialColor grey = AppColors.grey,
- Color layoutFrame = AppColors.grey,
- TVariant chipType = TVariant.tonal,
- TVariant toastType = TVariant.outline,
- TVariant tooltipType = TVariant.tonal,
- required TButtonTheme buttonTheme,
- required TInputFieldTheme inputFieldTheme,
- required TTextFieldTheme textFieldTheme,
- required TTagsFieldTheme tagsFieldTheme,
- required TNumberFieldTheme numberFieldTheme,
- required TFilePickerTheme filePickerTheme,
- required TListTheme listTheme,
- required TTableTheme tableTheme,
- required TListCardTheme listCardTheme,
- required TAlertTheme alertTheme,
Implementation
const TWidgetThemeExtension({
this.primary = AppColors.primary,
this.secondary = AppColors.secondary,
this.success = AppColors.success,
this.warning = AppColors.warning,
this.info = AppColors.info,
this.danger = AppColors.danger,
this.grey = AppColors.grey,
this.layoutFrame = AppColors.grey,
this.chipType = TVariant.tonal,
this.toastType = TVariant.outline,
this.tooltipType = TVariant.tonal,
required this.buttonTheme,
required this.inputFieldTheme,
required this.textFieldTheme,
required this.tagsFieldTheme,
required this.numberFieldTheme,
required this.filePickerTheme,
required this.listTheme,
required this.tableTheme,
required this.listCardTheme,
required this.alertTheme,
});