StacSnackBarThemeData constructor

const StacSnackBarThemeData({
  1. StacSnackBarBehavior? behavior,
  2. String? backgroundColor,
  3. double? elevation,
  4. StacShapeBorder? shape,
  5. double? width,
  6. StacTextStyle? contentTextStyle,
  7. String? actionTextColor,
  8. String? disabledActionTextColor,
  9. StacEdgeInsets? insetPadding,
  10. StacDismissDirection? dismissDirection,
  11. bool? showCloseIcon,
  12. String? closeIconColor,
  13. double? actionOverflowThreshold,
  14. String? actionBackgroundColor,
  15. String? disabledActionBackgroundColor,
})

Creates a StacSnackBarThemeData with the given properties.

Implementation

const StacSnackBarThemeData({
  this.behavior,
  this.backgroundColor,
  this.elevation,
  this.shape,
  this.width,
  this.contentTextStyle,
  this.actionTextColor,
  this.disabledActionTextColor,
  this.insetPadding,
  this.dismissDirection,
  this.showCloseIcon,
  this.closeIconColor,
  this.actionOverflowThreshold,
  this.actionBackgroundColor,
  this.disabledActionBackgroundColor,
});