ButtonSize enum

Size configurations for CustomButton.

Inheritance
Available extensions

Values

small → const ButtonSize

A small button suitable for tight spaces.

const ButtonSize(12.0, 8.0, 16.0)
medium → const ButtonSize

A standard sized button.

const ButtonSize(16.0, 12.0, 20.0)
large → const ButtonSize

A large, prominent button.

const ButtonSize(20.0, 16.0, 24.0)

Properties

hashCode int
The hash code for this object.
no setterinherited
horizontalPadding double
The horizontal padding inside the button.
final
iconSize double
The size of the icon or loading indicator.
final
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
verticalPadding double
The vertical padding inside the button.
final

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.