MBorderRadius class
- Inheritance
-
- Object
- BorderRadiusGeometry
- BorderRadiusDirectional
- MBorderRadius
Constructors
- MBorderRadius.set({dynamic topStart = 0.0, dynamic topEnd = 0.0, dynamic bottomEnd = 0.0, dynamic bottomStart = 0.0, dynamic start = 0.0, dynamic end = 0.0, dynamic top = 0.0, dynamic bottom = 0.0, dynamic all = 0.0})
Properties
- bottomEnd → Radius
-
The bottom-end Radius.
finalinherited
- bottomStart → Radius
-
The bottom-start Radius.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topEnd → Radius
-
The top-end Radius.
finalinherited
- topStart → Radius
-
The top-start Radius.
finalinherited
Methods
-
add(
BorderRadiusGeometry other) → BorderRadiusGeometry -
Returns the sum of two BorderRadiusGeometry objects.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
TextDirection? direction) → BorderRadius -
Convert this instance into a BorderRadius, so that the radii are
expressed for specific physical corners (top-left, top-right, etc) rather
than in a direction-dependent manner.
inherited
-
subtract(
BorderRadiusGeometry other) → BorderRadiusGeometry -
Returns the difference between two BorderRadiusGeometry objects.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator %(
double other) → BorderRadiusDirectional -
Computes the remainder of each corner by the given factor.
inherited
-
operator *(
double other) → BorderRadiusDirectional -
Scales each corner of the BorderRadiusDirectional by the given factor.
inherited
-
operator +(
BorderRadiusDirectional other) → BorderRadiusDirectional -
Returns the sum of two BorderRadiusDirectional objects.
inherited
-
operator -(
BorderRadiusDirectional other) → BorderRadiusDirectional -
Returns the difference between two BorderRadiusDirectional objects.
inherited
-
operator /(
double other) → BorderRadiusDirectional -
Divides each corner of the BorderRadiusDirectional by the given factor.
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator unary-(
) → BorderRadiusDirectional -
Returns the BorderRadiusDirectional object with each corner negated.
inherited
-
operator ~/(
double other) → BorderRadiusDirectional -
Integer divides each corner of the BorderRadiusDirectional by the given factor.
inherited