IconData constructor Null safety
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.
Implementation
const IconData(
this.codePoint, {
this.fontFamily,
this.fontPackage,
this.matchTextDirection = false,
});