colorOption property
Controls color of the icon.
null
– default value. Changes the color of the icon to match its parent font color.- OptimusIconColorOption.basic – variant with no extra emphasis.
- OptimusIconColorOption.primary – used to emphasize the item in a general way.
- OptimusIconColorOption.success – used to emphasize the item and convey a sense of success.
- OptimusIconColorOption.warning – used to emphasize the item and convey a sense of warning.
- OptimusIconColorOption.danger – used to emphasize the item and convey a sense of danger or error.
Implementation
final OptimusIconColorOption? colorOption;