- fixed
flipRightIconIfOpen
not reacting when set for all sections inAccordion
- added
flipLeftIconIfOpen
-- thanks @janbennettet-datacom - added
headerBorder
for eachAccordionSection
-- thanks @KeeganDC - fixed some properties not working on
Accordion
- added screenshot for pub.dev
- added some documentation
- merged PR from @gslender making scale animations optional. See
scaleWhenAnimating
- updated code example in README
- merged PR from @anatolinicolae
- updated to latest versions of GetX & scroll_to_index
- increased maximum number of sections to 10,000
- merged PR from @jobic10 to make Key optional
- merged PR from @SirObi to allow multiple
Accordion
instances on one page - added callbacks when opening/closing
AccordionSections
. Inspired by @singh-karan-7
- added some missing documentation
- fixed error when using multiple
Accordion
in aPageView
- fixed missing documentation
- fixed deprecated SingleGetTickerProviderMixin to GetSingleTickerProviderStateMixin
- 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.
- added
disableScrolling
prop toAccordion
. Useful when theAccordion
is used within a ListView or something else that already scrolls.
- fixed controller issue with scrollbar
- fixed problem with
flipRightIconIfOpen
- fixed
headerBorderRadius
prop not reacting when set globally viaAccordion
- added
shrinkWrap
andAlwaysScrollableScrollPhysics
to theAccordion
widget
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)
- 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
- deprecated
headerText
,headerTextStyle
,headerTextAlign
- new parameter
header
which replaces all of the above
- changed line length to 80 for dartfmt
- fixed non-final values in AccordionSection
- changed default
scrollIntoView
animation tofast
- updated docs
- fixed Flutter SDK version
- fixed dependencies
- added null safety
- fixed static analysis problems
- fixed problem with dartdoc
- Initial release