TablerIconData constructor

const TablerIconData(
  1. int codePoint
)

const constructor for TablerIconData by requiring a codePoint and a fontFamily. The fontPackage is set to tablerIcons by default.

Implementation

const TablerIconData(int codePoint)
    : super(
        /// The codePoint is the hex value of the icon. For example, the
        /// codePoint for the [TablerIcons.x1] icon is 0xe800.
        codePoint,

        /// The fontFamily is set to [TablerIcons] by default.
        /// This is the name of the font that will be used to display the icon.
        fontFamily: 'packages/lazyui/TablerIcons',

        /// The fontPackage is set to [tablerIcons] by default.
        /// This is the name of the package that contains the font.
        // fontPackage: 'tablerIcons',
      );