github-actions · GitHub

@victorsanni

@victorsanni

@victorsanni

@victorsanni

Closed

@victorsanni victorsanni changed the title Introduce Expansible and ExpansibleController, a base widget for ExpansionTile Introduce Expansible, a base widget for ExpansionTile

Feb 25, 2025

@victorsanni

@victorsanni

chunhtai

typedef ExpansibleComponentBuilder = Widget Function(BuildContext context, bool isExpanded);

/// The type of the callback that uses the header and body of an [Expansible]
/// widget to layout that widget.
///
/// * [expand], which expands the expansible widget.
/// * [collapse], which collapses the expansible widget.
bool get isExpanded {

@chunhtai

@victorsanni

chunhtai

/// When the widget starts expanding, this function is called with value
/// true. When the widget starts collapsing, this function is called with
/// value false.
final ValueChanged<bool>? onExpansionChanged;

@victorsanni

chunhtai

///
/// * [expand], which expands the expansible widget.
/// * [collapse], which collapses the expansible widget.
bool get isExpanded {
///
/// * [expand], which expands the expansible widget.
/// * [collapse], which collapses the expansible widget.
bool get isExpanded {

Merged

zhangyuang pushed a commit to zhangyuang/flutter-fork that referenced this pull request

Jun 9, 2025

romanejaquez pushed a commit to romanejaquez/flutter that referenced this pull request

Aug 14, 2025

Read the original on github.com ↗