SvgIcon constructor

const SvgIcon(
  1. SvgIconData? icon, {
  2. Key? key,
  3. double? size,
  4. Color? color,
  5. TextDirection? textDirection,
  6. bool? applyTextScaling,
  7. String? semanticLabel,
})

Creates a svg icon widget.

Implementation

const SvgIcon(
  this.icon, {
  super.key,
  this.size,
  this.color,
  this.textDirection,
  this.applyTextScaling,
  this.semanticLabel,
});