PrismAccordionSection class

One collapsible section of a PrismAccordion.

Annotations

Constructors

PrismAccordionSection({required String title, required Widget child, String? subtitle, IconData? icon, bool initiallyExpanded = false, bool enabled = true})
Creates a section.
const

Properties

child → Widget
Body revealed when expanded.
final
enabled → bool
Whether this section can be opened.
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
Optional leading icon.
final
initiallyExpanded → bool
Whether this section starts open.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtitle → String?
Optional supporting line under the title.
final
title → String
Header text.
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