buttonSize enum

Whether a button is the primary button size (the top 'call to action' of a page) or a secondary (not top call to action). The different sizes make it easier for users to prioritize what to do, and provides better UX. Primary is the biggest as a main call to action, and smolBaby is the smallest (e.g: an exit button for a sub-item, like a card).

Inheritance

Constructors

buttonSize()
const

Values

primary → const buttonSize
secondary → const buttonSize
smolBaby → const buttonSize

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<buttonSize>
A constant List of the values in this enum, in order of their declaration.