getSelectedPack static method
Implementation
static Map<String, IconPickerIcon> getSelectedPack(IconPack? pickedPack) {
switch (pickedPack) {
case IconPack.material:
return defaultIcons;
case IconPack.allMaterial:
return allIcons;
case IconPack.sharpMaterial:
return sharpIcons;
case IconPack.roundedMaterial:
return roundedIcons;
case IconPack.outlinedMaterial:
return outlinedIcons;
case IconPack.cupertino:
return cupertinoIcons;
case IconPack.fontAwesomeIcons:
return fontAwesomeIcons;
case IconPack.lineAwesomeIcons:
return lineAwesomeIcons;
default:
return <String, IconPickerIcon>{};
}
}