SectionGroup<T> constructor
SectionGroup<T> (
- {Key? key,
- Widget? header,
- required T? groupValue,
- required ValueChanged<
T?> ? onChanged, - required List<
SectionGroupWidget> children, - CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
- EdgeInsets? margin,
- EdgeInsets? headerPadding,
- double? elevation,
- Color? dividerColor}
Implementation
SectionGroup({
Key? key,
this.header,
required this.groupValue,
required this.onChanged,
required this.children,
this.footer,
this.crossAxisAlignment = CrossAxisAlignment.start,
EdgeInsets? margin,
EdgeInsets? headerPadding,
this.elevation,
this.dividerColor,
}) : super(key: key) {
this.margin = margin ?? EdgeInsets.fromLTRB(0, 0, 0, DEFAULT_CONTENT_PADDING);
this.contentPadding = headerPadding ?? EdgeInsets.fromLTRB(0, 0, 0, DEFAULT_CONTENT_PADDING);
}