IconGenerator constructor

IconGenerator(
  1. IconGeneratorContext context,
  2. String platformName
)

Creates a instance of IconGenerator.

A context is created and provided by generateIconsFor, platformName takes the name of the platform that this IconGenerator is implemented for

Also Refer

  • WebIconGenerator generate icons for web
  • generateIconFor generates icons for given platform

Implementation

IconGenerator(this.context, this.platformName);