AuiAccordionItem class

A single collapsible item in AuiAccordion.

Each item carries a required title and child content widget, plus optional subtitle, leading widget, and an initiallyExpanded flag.

Constructors

AuiAccordionItem({required String title, required Widget child, String? subtitle, Widget? leading, bool initiallyExpanded = false})
Creates an accordion item.
const

Properties

child Widget
The content widget revealed when the item is expanded.
final
hashCode int
The hash code for this object.
no setterinherited
initiallyExpanded bool
Whether this item starts in the expanded state. Defaults to false.
final
leading Widget?
Optional widget shown at the start of the header row (e.g. an Icon).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String?
Optional secondary text displayed below title in the header.
final
title String
The primary header text shown at all times.
final

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