ClipTriangleModifierAttribute class
A modifier that wraps a widget with a custom ClipPath widget with a TriangleClipper.
The TriangleClipper is used to clip a widget to a triangle shape.
- Inheritance
-
- Object
- Attribute
- StyledAttribute
- SpecAttribute<
ClipTriangleModifierSpec> - WidgetModifierAttribute<
ClipTriangleModifierAttribute, ClipTriangleModifierSpec> - ClipTriangleModifierAttribute
Constructors
- ClipTriangleModifierAttribute({Clip? clipBehavior})
-
const
Properties
- animated → AnimatedDataDto?
-
finalinherited
- clipBehavior → Clip?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mergeKey → Object
-
no setterinherited
-
props
→ List<
Object?> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool
-
no setterinherited
Methods
-
getDiff(
EqualityMixin other) → Map< String, String> -
inherited
-
merge(
covariant ClipTriangleModifierAttribute? other) → ClipTriangleModifierAttribute -
Merges this object with
other, returning a new object of typeT.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
MixData mix) → ClipTriangleModifierSpec -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited