DuckComponent class abstract

Abstract base class for all duck components.

This class defines the interface that all component types must implement. Components represent visual elements that can be displayed in a duck canvas.

Implementers

Constructors

DuckComponent()
Creates a new DuckComponent instance.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The unique type identifier for this component.
no setter

Methods

buildWidget(BuildContext context) Widget
Builds the widget for this component.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this component to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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