BorderRadiusAttribute class
Border radius attribute
- Inheritance
-
- Object
- Attribute<
BorderRadius> - BorderRadiusAttribute
Constructors
- BorderRadiusAttribute({double? topLeft, double? topRight, double? bottomLeft, double? bottomRight})
-
const
- BorderRadiusAttribute.all(double radius)
-
factory
- BorderRadiusAttribute.bottomLeft(double size)
-
The bottom left radius
factory
- BorderRadiusAttribute.bottomRight(double size)
-
The bottom right radius
factory
- BorderRadiusAttribute.topLeft(double size)
-
The top left radius
factory
- BorderRadiusAttribute.topRight(double size)
-
The top right radius
factory
Properties
- bottomLeft → double?
-
final
- bottomRight → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topLeft → double?
-
final
- topRight → double?
-
final
- value → BorderRadius
-
Builds attribute into widget propety
no setteroverride
Methods
-
copyWith(
BorderRadiusAttribute other) → BorderRadiusAttribute -
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
Static Properties
- none → BorderRadiusAttribute
-
no setter