CupertinoSelection<T> constructor

const CupertinoSelection<T>({
  1. required List<Widget> children,
  2. required Widget? header,
  3. required Widget? footer,
  4. CupertinoListSectionType? headerType,
  5. CupertinoListSectionType? footerType,
  6. Color? backgroundColor,
  7. Color? separatorColor,
  8. Key? key,
})

Implementation

const CupertinoSelection({
  required this.children,
  required this.header,
  required this.footer,
  CupertinoListSectionType? headerType,
  CupertinoListSectionType? footerType,
  this.backgroundColor,
  this.separatorColor,
  super.key
}) :
  headerType = headerType ?? CupertinoListSectionType.base,
  footerType = footerType ?? CupertinoListSectionType.base;