accordion 2.2.0 accordion: ^2.2.0 copied to clipboard
An expandable Flutter widget list where each item can be expanded or collapsed simply by clicking on the header.
[2.2.0] #
- code refactoring
- added
headerBackgroundColorOpened
as an option when a section is open. Default isheaderBackgroundColor
- added
sectionOpeningHapticFeedback
andsectionClosingHapticFeedback
to play a haptic feedback when opening/closing a section. - added
openAndCloseAnimation
toAccordion
to control if sections should animate when opened/closed.
[2.1.2] #
- added
disableScrolling
prop toAccordion
. Useful when theAccordion
is used within a ListView or something else that already scrolls.
[2.1.1] #
- fixed controller issue with scrollbar
- fixed problem with
flipRightIconIfOpen
- fixed
headerBorderRadius
prop not reacting when set globally viaAccordion
- added
shrinkWrap
andAlwaysScrollableScrollPhysics
to theAccordion
widget
[2.1.0] #
headerText
,headerTextStyle
,headerTextAlign
have been removed -- please useheader
instead- the content area now has a 1px border by default
- the background color of the
header
and thecontentBorderColor
share the same default color (primaryColor)
[2.0.1] #
- included "Accordion within Accordion" in the example app (see notes in README)
- changed default borderRadius of header and content to 10
- updated documentation and example app
[2.0.0] #
- deprecated
headerText
,headerTextStyle
,headerTextAlign
- new parameter
header
which replaces all of the above
[1.0.4] #
- changed line length to 80 for dartfmt
[1.0.3] #
- fixed non-final values in AccordionSection
- changed default
scrollIntoView
animation tofast
- updated docs
[1.0.2] #
- fixed Flutter SDK version
[1.0.1] #
- fixed dependencies
- added null safety
- fixed static analysis problems
- fixed problem with dartdoc
[1.0.0] #
- Initial release