ArcaneNavDropdown class

Navigation dropdown for header menus.

Opens on hover, click, touch, or keyboard activation. An invisible bridge maintains hover state when moving from the trigger to the content.

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