buildIcon method

  1. @protected
Widget buildIcon(
  1. BuildParameters params
)

Implementation

@protected
Widget buildIcon(BuildParameters params) {
  return Icon(
    IconData(
      parseInt(params.props["iconCode"]),
      fontFamily: 'MaterialIcons',
    ),
    key: properties.getKey(params.id),
    color: tryParseColor(params.props["color"]),
    size: tryParseDouble(params.props["size"]),
    semanticLabel: params.props["semanticLabel"],
  );
}