CustomComponentBase class abstract mixin

Base class for creating components based on a name pattern.

Implemented types

Constructors

CustomComponentBase()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
pattern → Pattern
The name pattern that the component matches.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
theme → ThemeExtension<Object?>?
An optional theme extension for this component.
no setteroverride

Methods

apply(String name, Map<String, String> attributes, Component? child) → Component
Builds a component with the given name, attributes, and child.
create(Node node, NodesBuilder builder) → Component?
Creates a component for the given node, or returns null.
override
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