apply method

IconData apply(
  1. BuildContext context, {
  2. bool? rounded,
})

Returns a copy of the icon with the correct font family.

Implementation

IconData apply(BuildContext context, {bool? rounded}) {
  if (fontFamily == ZetaIcons.family) {
    return _copyWith((rounded ?? context.rounded) ? ZetaIcons.familyRound : ZetaIcons.familySharp);
  }
  return this;
}