SpotlightDelegate class

WindowDelegate which implements the visual representation for Spotlight.

Inheritance

Constructors

SpotlightDelegate({SpotlightStyle? style})
Creates a WindowDelegate which implements the visual representation for Spotlight.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style SpotlightStyle?
A SpotlightStyle which overrides Spotlight.style.
final

Methods

build(BuildContext context, Spotlight element) Widget
Returns a Widget which gives element a visual representation in the Window.
override
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintOrder(Spotlight element) int
Returns a number which is used to determine the order in which multiple SceneElements inside of a Window are painted.
inherited
sceneElementAnchor(Spotlight element) AlignmentGeometry
Returns an anchor that is positioned relatively to element and with which windowElementAnchor will be aligned to position the Widget, representing element, in the Window.
override
shouldRebuild(covariant SpotlightDelegate oldDelegate) bool
Returns whether the SceneElements of the Window should be rebuild after the oldDelegate has been replaced with this instance.
override
showElement(Spotlight element) bool
Returns whether element should be shown in the Window.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
useElementSize(Spotlight element) bool
Whether the Widget returned from build should be forced to have the same size as element.
inherited
windowElementAnchor(Spotlight element) AlignmentGeometry
Returns an anchor that is positioned relatively to the Widget representing element and which will be aligned with sceneElementAnchor to position the Widget in the Window.
override

Operators

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