OctoPlaceholder class

OctoPlaceholders are predefined OctoPlaceholderBuilders that can easily be used for the OctoImage. For example: OctoImage( image: NetworkImage('https://dummyimage.com/600x400/000/fff'), placeholderBuilder: OctoPlaceholder.circularProgressIndicator(), );

Constructors

OctoPlaceholder()

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

Static Methods

circleAvatar({required Color backgroundColor, required Widget text}) OctoPlaceholderBuilder
Displays a CircleAvatar as placeholder
circularProgressIndicator() OctoPlaceholderBuilder
Displays a simple CircularProgressIndicator with undetermined progress.
frame() OctoPlaceholderBuilder
Displays a frame as placeholer. From the framework Placeholder widget.