TextBoneBorderRadius class

Holds border radius information for TextElement

Constructors

TextBoneBorderRadius(BorderRadiusGeometry borderRadius, {TextBoneBorderShape borderShape = TextBoneBorderShape.roundedRectangle})
Builds TextBoneBorderRadius instance that uses default/fixed border radius
const
TextBoneBorderRadius.fromHeightFactor(double factor, {TextBoneBorderShape borderShape = TextBoneBorderShape.roundedRectangle})
Builds TextBoneBorderRadius instance that uses a high factor to resolve used border radius
const

Properties

borderRadius → BorderRadiusGeometry?
The fixed border radius
no setter
borderShape → TextBoneBorderShape
The shape of the border
final
hashCode → int
The hash code for this object.
no setteroverride
heightPercentage → double?
This defines the value of border radius based on the font size e.g fontSize: 14 heightPercentage: .5 border radius => 14 * .5 = 7
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
usesHeightFactor → bool
Whether this is constructed using fromHeightFactor
final

Methods

lerp(TextBoneBorderRadius? other, double t) → TextBoneBorderRadius
Linearly interpolate between two TextBoneBorderRadius
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.
override