WidgetConfigurationInfo class
Represents analyzed information about a @WidgetConfigurationSpec class
(#98).
A widget configuration intent is compiled into the Widget Extension target, which cannot start a Flutter engine — so everything generated from this model reads the App Group persisted entity cache instead of calling into Dart.
Constructors
-
WidgetConfigurationInfo({required String className, required String identifier, required String title, String? description, bool isDiscoverable = false, bool generateDefaultResult = false, required List<
WidgetParamInfo> parameters, bool relevantIntents = false}) -
const
Properties
- className → String
-
The class name of the widget configuration specification.
final
- description → String?
-
An optional description.
final
- generateDefaultResult → bool
-
Whether the generated entity queries implement
defaultResult().final - hashCode → int
-
The hash code for this object.
no setteroverride
- identifier → String
-
The unique identifier for the configuration intent.
final
- isDiscoverable → bool
-
Whether the intent is exposed as a Shortcuts action.
final
-
parameters
→ List<
WidgetParamInfo> -
The configuration parameters.
final
-
referencedEntityTypes
→ Iterable<
String> -
The entity class names referenced by this configuration's parameters.
no setter
- relevantIntents → bool
-
Whether to emit the relevant-intent donator for this configuration (#55).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- swiftName → String
-
The generated Swift struct name for the configuration intent.
no setter
- title → String
-
The human-readable title.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override