getAttributeDisplayIcon function Null safety

dynamic getAttributeDisplayIcon(
  1. dynamic attribute
)

Implementation

Widget getAttributeDisplayIcon(final Attribute attribute) => Padding(
      padding: const EdgeInsets.only(right: VERY_SMALL_SPACE),
      child: _attributeMatchComparison(
        attribute,
        const Icon(CupertinoIcons.question, color: RED_COLOR),
        const Icon(Icons.lens, color: RED_COLOR),
        const Icon(Icons.lens, color: LIGHT_ORANGE_COLOR),
        const Icon(Icons.lens, color: LIGHT_ORANGE_COLOR),
        const Icon(Icons.lens, color: LIGHT_GREEN_COLOR),
        const Icon(Icons.lens, color: LIGHT_GREEN_COLOR),
      ),
    );