StarBorderMix class final
Mix representation of StarBorder.
- Inheritance
-
- Object
- Mixable<
StarBorder> - Mix<
StarBorder> - ShapeBorderMix<
StarBorder> - OutlinedBorderMix<
StarBorder> - StarBorderMix
Constructors
- StarBorderMix({BorderSideMix? side, double? points, double? innerRadiusRatio, double? pointRounding, double? valleyRounding, double? rotation, double? squash})
-
StarBorderMix.create({Prop<
BorderSide> ? side, Prop<double> ? points, Prop<double> ? innerRadiusRatio, Prop<double> ? pointRounding, Prop<double> ? valleyRounding, Prop<double> ? rotation, Prop<double> ? squash}) -
const
- StarBorderMix.innerRadiusRatio(double value)
-
Creates with inner radius ratio.
factory
- StarBorderMix.pointRounding(double value)
-
Creates with point rounding.
factory
- StarBorderMix.points(double value)
-
Creates with points.
factory
- StarBorderMix.rotation(double value)
-
Creates a star border with the specified rotation.
factory
- StarBorderMix.side(BorderSideMix value)
-
Creates a star border with the specified border side.
factory
- StarBorderMix.squash(double value)
-
Creates a star border with the specified squash factor.
factory
- StarBorderMix.valleyRounding(double value)
-
Creates with valley rounding.
factory
- StarBorderMix.value(StarBorder border)
Properties
-
$innerRadiusRatio
→ Prop<
double> ? -
final
-
$pointRounding
→ Prop<
double> ? -
final
-
$points
→ Prop<
double> ? -
final
-
$rotation
→ Prop<
double> ? -
final
-
$side
→ Prop<
BorderSide> ? -
finalinherited
-
$squash
→ Prop<
double> ? -
final
-
$valleyRounding
→ Prop<
double> ? -
final
- hashCode → int
-
Overrides the hash code getter to compute hash code based on properties.
no setterinherited
- mergeKey → Object
-
The key used to identify compatible types for merging.
no setterinherited
-
props
→ List<
Object?> -
The properties based on which equality and hash code are computed.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool
-
Whether to use a detailed string representation of the object.
no setterinherited
Methods
-
getDiff(
Equatable other) → Map< String, String> -
Returns a map of properties that differ between this object and another.
inherited
-
innerRadiusRatio(
double value) → StarBorderMix - Returns a copy with the specified inner radius ratio.
-
merge(
covariant StarBorderMix? other) → StarBorderMix -
Merges instances of the same type.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pointRounding(
double value) → StarBorderMix - Returns a copy with the specified point rounding.
-
points(
double value) → StarBorderMix - Returns a copy with the specified number of points.
-
resolve(
BuildContext context) → StarBorder -
Resolves this to a concrete value using the provided
context.override -
rotation(
double value) → StarBorderMix - Returns a copy with the specified rotation.
-
side(
BorderSideMix value) → StarBorderMix - Copy with border side.
-
squash(
double value) → StarBorderMix - Returns a copy with the specified squash factor.
-
toString(
) → String -
Overrides string representation for debugging and logging.
inherited
-
valleyRounding(
double value) → StarBorderMix - Returns a copy with the specified valley rounding.
Operators
-
operator ==(
Object other) → bool -
Overrides the equality operator to compare based on the properties.
inherited
Static Methods
-
maybeValue(
StarBorder? border) → StarBorderMix? -
Creates from nullable ShapeBorder.
override