RecipeCatalog class final
The recipes a tree builds its nodes with, beyond the core layout types (which the tree builds itself) and under the app's own (RenderTree.recipes). The SDK's catalog is in lib/src/widgets.
- Annotations
Constructors
-
RecipeCatalog({Map<
String, WidgetRecipe> recipes = const {}, Set<String> inputs = const {}}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputs
→ Set<
String> -
The types that are inputs: one the model lets carry a fill, border,
shadow or padding (a dropdown, a date input) is drawn inside the
node's shell.
final
-
recipes
→ Map<
String, WidgetRecipe> -
The recipe of each node type.
final
- 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
Constants
- none → const RecipeCatalog
- No recipes: every other type draws as its box, at its size.