AntdRadiusDefine class

theme

Inheritance
Available extensions

Constructors

AntdRadiusDefine.new({required double seed, required Radius lg, required Radius sm, required Radius xs, required Radius outer})
AntdRadiusDefine.generate(int radius, int sizeStep)
factory

Properties

all BorderRadius

Available on Radius, provided by the RadiusExtensions extension

no setter
bottom BorderRadius

Available on Radius, provided by the RadiusExtensions extension

no setter
bottomLeft BorderRadius

Available on Radius, provided by the RadiusExtensions extension

no setter
bottomRight BorderRadius

Available on Radius, provided by the RadiusExtensions extension

no setter
hashCode int
The hash code for this object.
no setterinherited
left BorderRadius

Available on Radius, provided by the RadiusExtensions extension

no setter
lg Radius
LG号圆角,用于组件中的一些大圆角,如 Card、Modal 等一些组件样式。 6.0
final
outer Radius
外部圆角 4.0
final

Available on Radius, provided by the RadiusExtensions extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed double
种子圆角,来自 AntdSeedToken.radius 4.0
final
sm Radius
SM号圆角,用于组件小尺寸下的圆角,如 Button、Input、Select 等输入类控件在 small size 下的圆角 4.0
final
top BorderRadius

Available on Radius, provided by the RadiusExtensions extension

no setter
topLeft BorderRadius

Available on Radius, provided by the RadiusExtensions extension

no setter
topRight BorderRadius

Available on Radius, provided by the RadiusExtensions extension

no setter
x double
The radius value on the horizontal axis.
finalinherited
xs Radius
XS号圆角,用于组件中的一些小圆角,如 Segmented 、Arrow 等一些内部圆角的组件样式中。 2.0
final
y double
The radius value on the vertical axis.
finalinherited

Methods

clamp({Radius? minimum, Radius? maximum}) Radius
Returns this Radius, with values clamped to the given min and max Radius values.
inherited
clampValues({double? minimumX, double? minimumY, double? maximumX, double? maximumY}) Radius
Returns this Radius, with values clamped to the given min and max values in each dimension
inherited
copyFrom(AntdRadiusDefine? source) AntdRadiusDefine
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator %(double operand) Radius
Modulo (remainder) operator.
inherited
operator *(double operand) Radius
Multiplication operator.
inherited
operator +(Radius other) Radius
Binary addition operator.
inherited
operator -(Radius other) Radius
Binary subtraction operator.
inherited
operator /(double operand) Radius
Division operator.
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() Radius
Unary negation operator.
inherited
operator ~/(double operand) Radius
Integer (truncating) division operator.
inherited