discontinuedPackage flutter_launcher_icons_maker has been discontinued and replaced by flutter_launcher_icons.

isAdaptiveIconConfigPngFile function

bool isAdaptiveIconConfigPngFile(
  1. String backgroundFile
)

Returns true if the adaptive icon configuration is a PNG image

Implementation

bool isAdaptiveIconConfigPngFile(String backgroundFile) {
  return backgroundFile.endsWith('.png');
}