StaticSlotBuilder class

A simple slot builder that always returns the same widget. This is useful for static content that doesn't change based on layout conditions.

Inheritance

Constructors

StaticSlotBuilder(Widget? widget)
Creates a StaticSlotBuilder.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widget Widget?
The widget to be built.
final

Methods

build(ActiveLayoutInfo layoutInfo) Widget?
Builds the widget for a slot based on the current ActiveLayoutInfo.
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