Icon.from constructor

Icon.from({
  1. required String src,
  2. required String type,
  3. required String sizes,
})

Returns the new instance of Icon based on arguments.

Implementation

Icon.from({
  required this.src,
  required this.type,
  required this.sizes,
});