SpinWheelPluginRegistry class
A central registry for discovering and using spin wheel plugins.
Plugins can register custom renderers for different segment content types (e.g., 'lottie', 'gif'). The SpinWheelRenderer uses this registry to find the appropriate renderer for a given segment.
Constructors
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
-
getRenderer(
String type) → SegmentRenderer? -
Retrieves a registered SegmentRenderer for a given content
type. -
registerRenderer(
String type, SegmentRenderer renderer) → void -
Registers a SegmentRenderer for a specific content
type.