Collection constructor

const Collection({
  1. Key? key,
  2. List<Widget> children = const [],
})

Implementation

const Collection({super.key, this.children = const []})
    : childCount = null,
      builder = null,
      customBuilder = false;