TextBoneBorderRadius class

Holds border radius information for TextElement

Constructors

TextBoneBorderRadius(BorderRadiusGeometry borderRadius)
Builds TextBoneBorderRadius instance that uses default/fixed border radius
const
TextBoneBorderRadius.fromHeightFactor(double factor)
Builds TextBoneBorderRadius instance that uses a high factor to resolve used border radius
const

Properties

borderRadius BorderRadiusGeometry?
The fixed border radius
no setter
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

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