FaIcon constructor

const FaIcon(
  1. IconData? icon, {
  2. Key? key,
  3. double? size,
  4. Color? color,
  5. String? semanticLabel,
  6. TextDirection? textDirection,
})

Creates an icon.

The size and color default to the value given by the current IconTheme.

Implementation

const FaIcon(
  this.icon, {
  Key? key,
  this.size,
  this.color,
  this.semanticLabel,
  this.textDirection,
})  : assert(icon != null),
      super(key: key);