TButtonSize class

Defines the size metrics of a button.

Annotations

Constructors

TButtonSize.fromInputSize(TInputSize size)
Creates a button size from an input size.

Properties

font double
final
hashCode int
The hash code for this object.
no setterinherited
hPad double
final
icon double
final
minH double
final
minimumSizeState WidgetStateProperty<Size>
no setter
minW double
final
paddingState WidgetStateProperty<EdgeInsets>
no setter
pillPaddingState WidgetStateProperty<EdgeInsets>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double
final
vPad double
final

Methods

copyWith({double? minW, double? minH, double? hPad, double? vPad, double? font, double? icon, double? spacing}) TButtonSize
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

block → const TButtonSize
lg → const TButtonSize
md → const TButtonSize
sm → const TButtonSize
xs → const TButtonSize
xxs → const TButtonSize
zero → const TButtonSize