Returns the new instance of Icon based on arguments.
Icon.from({ required this.src, required this.type, required this.sizes, });