getSelectedPack function

Map<String, IconData> getSelectedPack(
  1. IconPack? pickedPack
)

Implementation

Map<String, IconData> getSelectedPack(IconPack? pickedPack) {
  switch (pickedPack) {
    case IconPack.cupertino:
      return cupertinoIcons;
    default:
      return materialIcon;
  }
}