Nester constructor

  1. @Deprecated("Will be removed in the next versions. Use 'Nester.list' instead.")
Nester(
  1. List<Widget Function(Widget)> children, {
  2. Key? key,
})

Force to use a list of widgets

Implementation

@Deprecated(
    "Will be removed in the next versions. Use 'Nester.list' instead.")
Nester(List<Widget Function(Widget)> children, {Key? key})
    : type = _NesterTypes.list,
      children = children.toList(),
      super(key: key);