ButtonSize enum

Defines available button size categories in Flint UI.

Used to determine consistent padding, font size, and layout proportions for button widgets.

Inheritance
Available extensions

Values

small → const ButtonSize

Small button — typically compact, for tight spaces.

medium → const ButtonSize

Medium button — standard size for most use cases.

large → const ButtonSize

Large button — slightly bigger for emphasis.

xlarge → const ButtonSize

Extra-large button — ideal for call-to-action elements.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<ButtonSize>
A constant List of the values in this enum, in order of their declaration.