KnowledgePanelsBuilder class Null safety

Builds "knowledge panels" panels.

Panels display large data like all health data or environment data.

Constructors

KnowledgePanelsBuilder({dynamic setState, dynamic refreshProductCallback(dynamic)?})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
refreshProductCallback → (dynamic Function?(dynamic)?)
Callback to refresh the product when necessary.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
setState → dynamic
Would for instance refresh the product page.
final

Methods

buildAll(dynamic knowledgePanels, {dynamic product, dynamic context}) List
Builds all panels. [...]
buildSingle(dynamic knowledgePanels, String panelId, {dynamic context}) → dynamic
Builds a single panel, if available. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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