StyleRule.hue constructor Null safety

StyleRule.hue(
  1. Color hue
)

Indicates the basic color.

Implementation

StyleRule.hue(Color hue)
    : _key = "hue",
      _value = hue.to24BitHexString();