ImageViewerShape class sealed
Defines the shape used by an ImageViewerHero source widget.
Constructors
- ImageViewerShape.circle()
-
Clips the source image to a circle.
constfactory
- ImageViewerShape.rectangle()
-
Uses the image's natural rectangular bounds.
constfactory
- ImageViewerShape.rounded(double radius)
-
Clips all corners to
radius.constfactory - ImageViewerShape.roundedCorners(BorderRadius borderRadius)
-
Clips each corner using its corresponding radius in
borderRadius.constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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