NsgExpansionPanel constructor

NsgExpansionPanel({
  1. Key? key,
  2. ScrollController? scrollController,
  3. bool isDisabled = false,
  4. Color? widgetTopColor,
  5. Color? widgetTopBackColor,
  6. Color? widgetBottomBackColor,
  7. Color? borderColor,
  8. double? borderRadius,
  9. bool collapsed = true,
  10. required Widget widgetTop,
  11. Widget? widgetTopActive,
  12. required Widget widgetBottom,
  13. EdgeInsets? margin,
  14. EdgeInsets? widgetTopPadding = const EdgeInsets.fromLTRB(10, 5, 5, 5),
  15. EdgeInsets? widgetBottomPadding = const EdgeInsets.all(5),
  16. bool? isSimple,
  17. dynamic isExpanded(
    1. bool isExpanded
    )?,
  18. List<NsgExpansionPanel>? linkedPanels,
  19. Widget? iconWidgetDown,
  20. Widget? iconWidgetUp,
  21. Widget? widgetEnd,
})

Implementation

NsgExpansionPanel(
    {Key? key,
    this.scrollController,
    this.isDisabled = false,
    this.widgetTopColor,
    this.widgetTopBackColor,
    this.widgetBottomBackColor,
    this.borderColor,
    this.borderRadius,
    this.collapsed = true,
    required this.widgetTop,
    this.widgetTopActive,
    required this.widgetBottom,
    this.margin,
    this.widgetTopPadding = const EdgeInsets.fromLTRB(10, 5, 5, 5),
    this.widgetBottomPadding = const EdgeInsets.all(5),
    this.isSimple,
    this.isExpanded,
    this.linkedPanels,
    this.iconWidgetDown,
    this.iconWidgetUp,
    this.widgetEnd})
    : super(key: key);