NsgExpansionPanel constructor
NsgExpansionPanel({
- Key? key,
- ScrollController? scrollController,
- bool isDisabled = false,
- Color? widgetTopColor,
- Color? widgetTopBackColor,
- Color? widgetBottomBackColor,
- Color? borderColor,
- double? borderRadius,
- bool collapsed = true,
- required Widget widgetTop,
- Widget? widgetTopActive,
- required Widget widgetBottom,
- EdgeInsets? margin,
- EdgeInsets? widgetTopPadding = const EdgeInsets.fromLTRB(10, 5, 5, 5),
- EdgeInsets? widgetBottomPadding = const EdgeInsets.all(5),
- bool? isSimple,
- dynamic isExpanded(
- bool isExpanded
- List<
NsgExpansionPanel> ? linkedPanels, - Widget? iconWidgetDown,
- Widget? iconWidgetUp,
- 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);