WinIcon enum Null safety

A type of icon image that ships with Windows per default.

You should prefer using the StockIcon enum. As they have more modern styles.

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-loadicona

Inheritance

Constructors

WinIcon()
const

Values

application → const WinIcon

📰 An icon that looks similar to a program GUI

const WinIcon(0)
error → const WinIcon

❌ A red circle with a white cross inside

const WinIcon(1)
question → const WinIcon

❔ A blue circle with a white question mark inside

const WinIcon(2)
warning → const WinIcon

⚠️ A yellow triangle with a white exclamation mark inside

const WinIcon(3)
information → const WinIcon

❕ A blue circle with a white exclamation mark inside

const WinIcon(4)
shield → const WinIcon

🛡 A shield with a yellow and blue square pattern

const WinIcon(5)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<WinIcon>
A constant List of the values in this enum, in order of their declaration.
[application, error, question, warning, information, shield]