Icon constructor

Icon(
  1. IconData icon, {
  2. double? size,
  3. PdfColor? color,
  4. TextDirection? textDirection,
  5. Font? font,
})

Creates an icon.

Implementation

Icon(
  this.icon, {
  this.size,
  this.color,
  this.textDirection,
  this.font,
}) : super();