StacIcon constructor
const
StacIcon({
- required String icon,
- StacIconType iconType = StacIconType.material,
- double? size,
- double? fill,
- double? weight,
- double? grade,
- double? opticalSize,
- String? color,
- List<
StacShadow> ? shadows, - String? semanticLabel,
- StacTextDirection? textDirection,
- bool? applyTextScaling,
- 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,
});