Accordion class
The container list for all accordion sections.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- Accordion
- Mixed-in types
Constructors
-
Accordion({Key? key, int? maxOpenSections, required List<
AccordionSection> children, int? initialOpeningSequenceDelay, Color? headerBackgroundColor, Color? headerBackgroundColorOpened, double? headerBorderRadius, Widget? leftIcon, Widget? rightIcon, Widget? header, bool? flipRightIconIfOpen, Color? contentBackgroundColor, Color? contentBorderColor, double? contentBorderWidth, double? contentBorderRadius, double? contentHorizontalPadding, double? contentVerticalPadding, double paddingListTop = 20.0, double paddingListBottom = 40.0, double paddingListHorizontal = 10.0, EdgeInsets? headerPadding, double? paddingBetweenOpenSections, double? paddingBetweenClosedSections, ScrollIntoViewOfItems? scrollIntoViewOfItems, bool disableScrolling = false, SectionHapticFeedback? sectionOpeningHapticFeedback, SectionHapticFeedback? sectionClosingHapticFeedback, bool? openAndCloseAnimation, bool? scaleWhenAnimating, String? accordionId})
Properties
- accordionId ↔ String?
-
latefinalinherited
-
children
→ List<
AccordionSection> -
final
- contentBackgroundColor ↔ Color?
-
latefinalinherited
- contentBorderColor ↔ Color?
-
latefinalinherited
- contentBorderRadius ↔ double?
-
latefinalinherited
- contentBorderWidth ↔ double?
-
latefinalinherited
- contentHorizontalPadding ↔ double?
-
latefinalinherited
- contentVerticalPadding ↔ double?
-
latefinalinherited
- disableScrolling → bool
-
final
- flipRightIconIfOpen → RxBool?
-
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerBackgroundColor ↔ Color?
-
latefinalinherited
- headerBackgroundColorOpened ↔ Color?
-
latefinalinherited
- headerBorderRadius ↔ double?
-
latefinalinherited
- headerPadding ↔ EdgeInsets?
-
latefinalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- leftIcon ↔ Widget?
-
latefinalinherited
- listCtrl → ListController
-
final
- paddingBetweenClosedSections ↔ double?
-
latefinalinherited
- paddingBetweenOpenSections ↔ double?
-
latefinalinherited
- paddingListBottom → double
-
final
- paddingListHorizontal → double
-
final
- paddingListTop → double
-
final
- rightIcon ↔ Widget?
-
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollIntoViewOfItems ↔ ScrollIntoViewOfItems?
-
latefinalinherited
- sectionClosingHapticFeedback ↔ SectionHapticFeedback?
-
latefinalinherited
- sectionOpeningHapticFeedback ↔ SectionHapticFeedback?
-
latefinalinherited
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- sectionAnimation ↔ bool
-
getter/setter pair
- sectionScaleAnimation ↔ bool
-
getter/setter pair