SlotProps class abstract final

Where a definition places what a call passes: the children slot (the call's children) or a named one (the call's slots[name]). With nothing passed it shows its own children (the default). Outside a definition it shows its children. Flutter: child / children / a Widget title parameter, placed in build.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

name → const PropDef<String>
The slot's name: children (the call's children) or one of the component's declared widget.slots.
spec → const WidgetSpec