Skip to content
pubscout

expansion_tile_card

3.0.0, released 3 years ago by skylled.dev

Drop-in replacement for ExpansionTile with a Material Theme raised card look.

WASM-ready
$ flutter pub add expansion_tile_card
Source repository

What it does

An extension on the standard Flutter ExpansionTile that renders a Google Material Theme inspired raised widget called ExpansionTileCard. It supports customizable elevation, colors, and animations.

AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want an expansion tile styled as a raised Material card.
  • You need a drop-in replacement for the standard ExpansionTile with extra elevation and color options.

Skip it when

  • You require the exact default styling and behavior of the standard Flutter SDK ExpansionTile.
  • You need non-Material design patterns.

Strengths

  • Drop-in replacement for standard ExpansionTile
  • Customizable elevation, colors, and border animations
  • Includes methods to programmatically expand, collapse, and toggle

Weaknesses

  • Limited to Material design raised card styling

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

ExpansionTileCard(
  title: Text('Card Title'),
  children: <Widget>[
    Divider(height: 1.0, color: Colors.grey),
    ListTile(
      title: Text('Child item'),
    ),
  ],
)

Alternatives

Packages that do the same job and could replace expansion_tile_card.