expansion_tile_card 3.0.0
expansion_tile_card: ^3.0.0 copied to clipboard
An "expansion" on the Flutter SDK's standard ExpansionTile, to create a Google Material Theme inspired raised widget, ExpansionTileCard, instead.
3.0.0 Flutter 3.10 fixes #
- Breaking Now optimized for Flutter 3.10+ and Dart 3.x
- Replace deprecated
accentColor. Thanks @etiennedv-mathu - Rebuild example app. Thanks @sergdeus
2.0.0 Null Safety and more #
- Breaking - Migrate to Null Safety. Requires newer build of Flutter
- Add
expandedTextColorso that expanded card can use alternate color. Thanks @msandwidi! - Adjust default padding so
titledoesn't move - Migrate example package to use
TextButtoninstead ofFlatButton
1.1.0 Customizability #
- Breaking - Migrate text to 2018 Material Design spec. Requires Flutter >= 1.17.0
- Add
initialElevationto adjust shadows/heights -- Hannnes1 - Add
isThreeLineto match ListTile -- Hannnes1 - Add
shadowColorto not use Material's default shadowing -- Hannnes1 - Add
animateTrailingto allow thetrailingwidget to rotate on expand/collapse -- Hannnes1 - Add
collapse,expand, andtoggleExpansionmethods. -- Solution credit: Slightfoot - Make
ExpansionTileCardStateclass public - Include demo of
collapse&expandin reworked example app.
1.0.3 More customizability #
- Introduce
contentPaddingto alter inner padding of ListTile. - Surface background color options as
baseColorandexpandedColor.
1.0.2+2 Inkwell fix #
- Use the same border for the Inkwell as used for the Card
1.0.2+1 README update #
- Put a GIF into the README
1.0.2 API and visual improvements #
- Add option to provide your own animation curves.
- Add option to customize animation duration.
- Use better animation technique for padding.
- Use custom InkWell, to respect rounded edges.
1.0.1 Fix Flutter stable #
- Swap the newer
textTheme.subtitle1for the oldertextTheme.subhead.
1.0.0+1 Example directory #
- Provide an
/exampledirectory.
1.0.0 Initial release. #
- Swap
ExpansionTile'sContainerfor aMaterialwidget. - Attach the
Material'selevationto an Animation. - Add a rounded border which hides in plain sight until raised.
- Drop borderColor and backgroundColor; use theme.canvasColor and theme.cardColor instead.