generate_icons_class library Null safety