ExpansionPanelRadio constructor Null safety
- {required Object value,
- required ExpansionPanelHeaderBuilder headerBuilder,
- required Widget body,
- bool canTapOnHeader = false,
- Color? backgroundColor}
An expansion panel that allows for radio functionality.
A unique value must be passed into the constructor. The headerBuilder, body, value must not be null.
Implementation
ExpansionPanelRadio({
required this.value,
required super.headerBuilder,
required super.body,
super.canTapOnHeader,
super.backgroundColor,
}) : assert(value != null);