PIButtonStyle class

按钮样式

Annotations

Constructors

PIButtonStyle({PIButtonType buttonType = PIButtonType.primary, PIRadius buttonRadius = PIRadius.small, PIButtonSize buttonSize = PIButtonSize.big, PIColorSense colorSense = PIColorSense.primary, PIButtonStatus buttonStatus = PIButtonStatus.normal})
构造函数
const

Properties

buttonRadius PIRadius
按钮圆角大小
final
buttonSize PIButtonSize
按钮大小
final
buttonStatus PIButtonStatus
按钮状态
final
buttonType PIButtonType
按钮类型
final
colorSense PIColorSense
颜色场景
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({PIButtonType? buttonType, PIButtonSize? buttonSize, PIRadius? buttonRadius, PIColorSense? colorSense, PIButtonStatus? buttonStatus}) PIButtonStyle
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