load abstract method

Future<ImageProvider?> load(
  1. String iconId,
  2. double scale
)

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);