ClipRectModifierAttribute class

A modifier that wraps a widget with a ClipRect widget.

The ClipRect widget is used to clip a widget to a rectangle.

Inheritance

Constructors

ClipRectModifierAttribute({CustomClipper<Rect>? clipper, Clip? clipBehavior})
const

Properties

animated AnimatedDataDto?
finalinherited
clipBehavior Clip?
final
clipper CustomClipper<Rect>?
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 ClipRectModifierAttribute? other) ClipRectModifierAttribute
Merges this object with other, returning a new object of type T.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) ClipRectModifierSpec
override
toString() String
A string representation of this object.
inherited

Operators

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