TWidgetThemeExtension constructor

const TWidgetThemeExtension({
  1. MaterialColor primary = AppColors.primary,
  2. MaterialColor success = AppColors.success,
  3. MaterialColor warning = AppColors.warning,
  4. MaterialColor info = AppColors.info,
  5. MaterialColor danger = AppColors.danger,
  6. MaterialColor grey = AppColors.grey,
  7. Color layoutFrame = AppColors.grey,
  8. TButtonType buttonType = TButtonType.solid,
  9. TVariant chipType = TVariant.tonal,
  10. TVariant toastType = TVariant.outline,
  11. TVariant tooltipType = TVariant.tonal,
  12. TInputFieldTheme inputFieldTheme = const TInputFieldTheme(),
  13. TTextFieldTheme textFieldTheme = const TTextFieldTheme(),
  14. TTagsFieldTheme tagsFieldTheme = const TTagsFieldTheme(),
  15. TNumberFieldTheme numberFieldTheme = const TNumberFieldTheme(),
  16. TFilePickerTheme filePickerTheme = const TFilePickerTheme(),
})

Implementation

const TWidgetThemeExtension({
  this.primary = AppColors.primary,
  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.buttonType = TButtonType.solid,
  this.chipType = TVariant.tonal,
  this.toastType = TVariant.outline,
  this.tooltipType = TVariant.tonal,
  this.inputFieldTheme = const TInputFieldTheme(),
  this.textFieldTheme = const TTextFieldTheme(),
  this.tagsFieldTheme = const TTagsFieldTheme(),
  this.numberFieldTheme = const TNumberFieldTheme(),
  this.filePickerTheme = const TFilePickerTheme(),
});