- Added
theme
property toExpandableButton
.
- Migrated to null safety. Dart SDK >=
2.12.0
is now required. - Removed previously deprecated attributes.
- Added
inkWellRadius
theme property.
- Fixed a bug: Expandables should be unregistered in controller upon their disposal.
- Optimized comparison operator in
ExpandableThemeData
. - Improved example app.
- Added
iconRotationAngle
theme property.
- Added ability to customize the expand icon in the theme.
- Converted widget properties
tapHeaderToExpand
,tapBodyToExpand
,hasIcon
to theme properties. - Added
tabBodyToExpand
theme property. - Added theme property
bodyAlignment
to specify body alignment. - Added a third card to the example app that demonstrates a custom icon.
- Changed the horizontal alignment of the header and the body of
ExpandablePanel
to stretch. - Fixed an exception when no controller is specified in
ExpandableNotifier
.
- Updated
pubspec.yaml
to require the minimum version of Flutter 1.12.0.
- Introduced
ExpandableTheme
andExpandableThemeData
. - Deprecated widget-level properties that have been moved to the theme.
- Added
iconColor
property toExpandablePanel
- Updated README and example app.
- Added
ShowOnExpand
widget. - Moved
initialExpanded
fromExpandablePanel
toExpandableNotifier
. - Moved
animationDuration
fromExpandable
toExpandableController
. - Made
ExpandableNotifier
to be a stateful widget. - Made
ExpandablePanel
a stateless widget.
- Added the optional
crossFadePoint
parameter.
- Disabled the
iconColor
parameter until version 1.7.3 is published to stable.
- Added the optional
iconColor
parameter toExpandablePanel
.
- Added the optional
headerAlignment
parameter toExpandablePanel
.
- Added the optional
key
parameter toExpandable
andExpandablePanel
.
- ExpandablePanel does not lose its state if its parent is rebuilt.
- Example file is moved to
example
folder for ease of running it.
- Eliminated the dependency on ScopedModel.
- Introduced ExpandableNotifier and ExpandableController.
- This is a breaking change. See README.md for details on migration from 1.x to 2.0.
- Added
ExpandablePanel
, a configurable expandable widget with optional header and icon.
- Initial release.