StacIcon constructor

const StacIcon({
  1. required String icon,
  2. StacIconType iconType = StacIconType.material,
  3. double? size,
  4. double? fill,
  5. double? weight,
  6. double? grade,
  7. double? opticalSize,
  8. String? color,
  9. List<StacShadow>? shadows,
  10. String? semanticLabel,
  11. StacTextDirection? textDirection,
  12. bool? applyTextScaling,
  13. StacBlendMode? blendMode,
})

Creates an icon widget with the specified properties.

Implementation

const StacIcon({
  required this.icon,
  this.iconType = StacIconType.material,
  this.size,
  this.fill,
  this.weight,
  this.grade,
  this.opticalSize,
  this.color,
  this.shadows,
  this.semanticLabel,
  this.textDirection,
  this.applyTextScaling,
  this.blendMode,
});