ExpansionPanelRadio constructor

ExpansionPanelRadio({
  1. required Object value,
  2. required ExpansionPanelHeaderBuilder headerBuilder,
  3. required Widget body,
  4. bool canTapOnHeader = false,
  5. Color? backgroundColor,
  6. Color? splashColor,
  7. Color? highlightColor,
})

An expansion panel that allows for radio functionality.

A unique value must be passed into the constructor.

Implementation

ExpansionPanelRadio({
  required this.value,
  required super.headerBuilder,
  required super.body,
  super.canTapOnHeader,
  super.backgroundColor,
  super.splashColor,
  super.highlightColor,
});