ImageViewerShape class sealed

Defines the shape used by an ImageViewerHero source widget.

Implementers

Constructors

ImageViewerShape.circle()
Clips the source image to a circle.
const
factory
ImageViewerShape.rectangle()
Uses the image's natural rectangular bounds.
const
factory
ImageViewerShape.rounded(double radius)
Clips all corners to radius.
const
factory
ImageViewerShape.roundedCorners(BorderRadius borderRadius)
Clips each corner using its corresponding radius in borderRadius.
const
factory

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