load abstract method
Called once the icon is visible in view frustum If the icon can't be loaded, empty value must be returned. Scale - scale factor. mdpi: 1.0 , xhdpi: 2.0, etc. If you have image resources for different pixel densities, just ignore this parameter.
Implementation
core.Future<image_provider.ImageProvider?> load(
core.String iconId, core.double scale);