Config class final

RFW-specific configuration for a custom widget catalog entry.

The carrier remains available for future target-local configuration. Event callbacks require no configuration: Restage derives them from the resolved constructor signature and uses the Dart property name as their identity.

Annotations
  • @immutable
  • @Target.new({TargetKind.classType})

Constructors

Config({bool? enabled})
Creates an RFW configuration overlay.
const
Config.enabled(bool enabled)
Controls whether the annotated custom widget participates in RFW emit.
const

Properties

enabled bool?
Whether this custom widget participates in RFW emit.
final
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