BorderToken class

Constructors

BorderToken.new({double thinFactor = 1, double fatFactor = 2, double roundFactor = 4, double extraRoundFactor = 8, double circularFactor = 8, required DyteBorderRadius borderRadius, required DyteBorderWidth borderWidth})

Properties

borderRadius DyteBorderRadius
final
borderWidth DyteBorderWidth
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

getRadius(BorderSize size) double
Calculates border radius for passed radius and size.
getWidth(BorderSize size) double
Caculates border width for the passed width and size.
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