IconData constructor

const IconData(
  1. int codePoint,
  2. {String fontFamily,
  3. String fontPackage,
  4. bool matchTextDirection: false}

Creates icon data.

Rarely used directly. Instead, consider using one of the predefined icons like the Icons collection.

The fontPackage argument must be non-null when using a font family that is included in a package. This is used when selecting the font.


const IconData(
  this.codePoint, {
  this.matchTextDirection = false,