build method

  1. @override
Icon build(
  1. BuildContext context,
  2. AdaptiveIcon component
)
override

Implementation

@override
Icon build(BuildContext context, AdaptiveIcon component) {
  return Icon(
    iconData,
    size: component.size,
    fill: component.fill,
    weight: component.weight,
    grade: component.grade,
    opticalSize: component.opticalSize,
    color: component.color,
    shadows: component.shadows,
    semanticLabel: component.semanticLabel,
    textDirection: component.textDirection,
    applyTextScaling: component.applyTextScaling,
  );
}