GuildWidgetStyle enum

Inheritance

Constructors

GuildWidgetStyle()
const

Values

shield → const GuildWidgetStyle

shield style widget with Discord icon and guild members online count

Example: https://discord.com/api/guilds/81384788765712384/widget.png?style=shield

banner1 → const GuildWidgetStyle

large image with guild icon, name and online count. "POWERED BY DISCORD" as the footer of the widget

Example: https://discord.com/api/guilds/81384788765712384/widget.png?style=banner1

banner2 → const GuildWidgetStyle

smaller widget style with guild icon, name and online count. Split on the right with Discord logo

Example: https://discord.com/api/guilds/81384788765712384/widget.png?style=banner2

banner3 → const GuildWidgetStyle

large image with guild icon, name and online count. In the footer, Discord logo on the left and "Chat Now" on the right

Example: https://discord.com/api/guilds/81384788765712384/widget.png?style=banner3

banner4 → const GuildWidgetStyle

large Discord logo at the top of the widget. Guild icon, name and online count in the middle portion of the widget and a "JOIN MY SERVER" button at the bottom

Example: https://discord.com/api/guilds/81384788765712384/widget.png?style=banner4

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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<GuildWidgetStyle>
A constant List of the values in this enum, in order of their declaration.