CardRegistry class
Constructors
-
CardRegistry({List<
String> removedElements = const <String>[], Map<String, ElementCreator> addedElements = const <String, ElementCreator>{}, Map<String, ElementCreator> addedActions = const <String, ElementCreator>{}}) -
const
Properties
-
addedActions
→ Map<
String, ElementCreator> -
final
-
addedElements
→ Map<
String, ElementCreator> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
removedElements
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAction(
Map< String, dynamic> map) → Widget -
getBaseElement(
Map< String, dynamic> map) → Widget -
Returns the correct element widget from its
"type". -
getElement(
Map< String, dynamic> map) → Widget -
getGenericAction(
Map< String, dynamic> map, RawAdaptiveCardState state) → GenericAction -
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