M3EExpandableData class

A data container used to configure items for M3EExpandableList.

Constructors

M3EExpandableData({required String title, List<TextStyle>? titleStyle, String? subtitle, List<TextStyle>? subtitleStyle, int? subtitleMaxLines, M3EExpandableExpanded? expanded, Widget? leading, Widget? trailing})
Creates a data configuration for an expandable item.
const

Properties

expanded → M3EExpandableExpanded?
Expanded content: card-styled list or a single freeform child.
final
hashCode → int
The hash code for this object.
no setterinherited
leading → Widget?
An optional leading widget for the header (e.g., an Icon or CircleAvatar).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtitle → String?
An optional text-only subtitle shown in the header.
final
subtitleMaxLines → int?
Maximum number of lines for the subtitle.
final
subtitleStyle → List<TextStyle>?
Optional custom text styles for the subtitle.
final
title → String
The main title text shown in the header.
final
titleStyle → List<TextStyle>?
Optional custom text styles for the title.
final
trailing → Widget?
An optional trailing widget for the header.
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