BorderRadiusUtility<T extends Attribute> class

Utility class for creating and manipulating attributes with BorderRadiusGeometry

Allows setting of radius for a border. This class provides a convenient way to configure and apply border radius to T Accepts a builder function that returns T and takes a BorderRadiusGeometryDto as a parameter.

Inheritance

Constructors

BorderRadiusUtility(T builder(BorderRadiusGeometryDto))

Properties

all RadiusUtility<T>
Returns a RadiusUtility to manipulate Radius for all corners.
no setter
bottom RadiusUtility<T>
Returns a RadiusUtility to manipulate Radius for bottomLeft and bottomRight corner.
no setter
bottomLeft RadiusUtility<T>
Returns a RadiusUtility to manipulate Radius for bottomLeft corner.
no setter
bottomRight RadiusUtility<T>
Returns a RadiusUtility to manipulate Radius for bottomRight corner.
no setter
builder → T Function(BorderRadiusGeometryDto)
finalinherited
hashCode int
The hash code for this object.
no setterinherited
left RadiusUtility<T>
Returns a RadiusUtility to manipulate Radius for topLeft and bottomLeft corner.
no setter
Returns a RadiusUtility to manipulate Radius for topRight and bottomRight corner.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top RadiusUtility<T>
Returns a RadiusUtility to manipulate Radius for topLeft and topRight corner.
no setter
topLeft RadiusUtility<T>
Returns a RadiusUtility to manipulate Radius for topLeft corner.
no setter
topRight RadiusUtility<T>
Returns a RadiusUtility to manipulate Radius for topRight corner.
no setter

Methods

as(BorderRadiusGeometry value) → T
inherited
call(double p1, [double? p2, double? p3, double? p4]) → T
circular(double radius) → T
Sets a circular Radius for all corners.
elliptical(double x, double y) → T
Sets an elliptical Radius for all corners.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
only({Radius? topLeft, Radius? topRight, Radius? bottomLeft, Radius? bottomRight}) → T
override
toString() String
A string representation of this object.
inherited
zero() → T
Sets a zero Radius for all corners.

Operators

operator ==(Object other) bool
The equality operator.
inherited