ArcaneNavDropdown class

Hover-based navigation dropdown for header menus.

Opens on hover with an invisible bridge element to maintain hover state when moving from trigger to content. Supports left/right alignment.

Example:

ArcaneNavDropdown(
  label: 'Products',
  width: '300px',
  content: Column([...]),
)
Inheritance

Constructors

ArcaneNavDropdown({required String label, required String width, required Widget content, bool alignRight = false, Key? key})
const

Properties

alignRight bool
Whether to align the dropdown to the right side.
final
content Widget
Content to display in the dropdown panel.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one component replaces another component in the tree.
finalinherited
label String
The trigger label text.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width String
Width of the dropdown panel.
final

Methods

createElement() Element
Creates a StatefulElement to manage this component's location in the tree.
inherited
createState() State<ArcaneNavDropdown>
Creates the mutable state for this component at a given location in the tree.
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